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

Re: overlay ppolicy not work



Hi,
   
  I have this following line in my log.
   
  slap_global_control: unavailable control: 2.16.840.1.113730.3.4.2
   
  is some one can help me ?
   
  thx
Eudes Leducq <eleducq@yahoo.fr> a écrit :
  Hi,

sorry I have make an error in my email, I have ppolicy_default "cn=default,ou=policies,dc=monAnnuaire ,dc=fr" and dn: cn=default,ou=policies,dc=monAnnuaire,dc=fr. in my configuration.

My problem is not this.


Samuel Tran a écrit :
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




---------------------------------
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta.


		
---------------------------------
 Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta.