[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: overlay ppolicy not work



On Thu, 2006-03-02 at 08:30 +0100, Eudes Leducq wrote:
> Hi,
>    
>   I try to use overlay ppolicy to control my password, but it don't work. As a user seized a password smaller than the size minimal no error occurs. I have configured my openLdap (openLdap 2.3.18 and berkeley 4.4) like this:
>    
>   ####################################
>   modulepath      /usr/local/openLdap2.3.18/
> moduleload      ppolicy.la
>    
>   ..........
>    
>   ###################################
>   # password policy
> overlay ppolicy
> ppolicy_default "cn=default,ou=policies,dc=monAnnuaire,dc=fr"
>    
>   My default subtree like this:
>   
> dn: cn=default,ou=policies,dc=ghec,dc=fr
> objectclass: pwdPolicy
> objectClass: device
> objectclass: top
> cn: default
> pwdAttribute : userPassword
> pwdCheckQuality :2
> pwdMinLength: 5
> pwdLockout: TRUE
> pwdLockoutDuration : 60
> pwdMaxFailure: 3
> pwdInHistory: 1
> 
>   is some one can help me ?
>    

Shouldn't it be:
ppolicy_default "cn=default,ou=policies,dc=ghec,dc=fr"
in you slapd.conf instead of:
ppolicy_default "cn=default,ou=policies,dc=monAnnuaire,dc=fr"

Sam