> On Aug 8, 2017, at 10:16 AM, Sambedi Fahted <sfah...@gmail.com> wrote:
> 
> Hey, Mike.
> That's correct. MinAge *is* being enforced, but minLength is *not*.
> 
> After changing the password on my Ubuntu machine (test ldap client), logged
> in as "testuser", the modifiersName shows up as: "0.9.2342.19200300.100.1.1=
> manager,2.5.4.11=system".
> 
> Funny, the min/maxAge gets enforced for uid=manager,ou=system, as well. So
> it started to fail as the binddn, and logins to the linux machine stopped
> working. :-p

FWIW Fortress junit tests the pw policy functions and can be run against 
apacheds.  The test code is here:
https://github.com/apache/directory-fortress-core/blob/master/src/test/java/org/apache/directory/fortress/core/impl/PswdPolicyMgrImplTest.java

The min length begins on line 394.

I say this to confirm the functionality works on the server and within the 
Apache LDAP API.

Hope this helps.

Shawn

Reply via email to