[Date Prev][Date Next]
Re: password-policy configuration problems: cannot change passwords
On Thursday, 22 December 2011 12:26:38 Marco Weber wrote:
> I'm running openldap with password policy overlay. after the overlay
> installation and configuration, we cannot change the passwords anymore.
> Michael Ströder told that an LDAP modify request should resolve this issue,
> but it didn't help.
> [root@ldapsrv ~]# ldappasswd -e ppolicy -D cn=username,dc=domain,dc=tld -S
> -W New password:
> Re-enter new password:
> Enter LDAP Password:
> Result: Constraint violation (19)
> Additional info: Password policy only allows one password value
> control: 126.96.36.199.188.8.131.52.184.108.40.206 false MAA=
The error message, and the code that issues that error message, seems to
indicate that pppolicy doesn't allow multiple values for the userPassword
attribute to exist in an existing entry when the password is changed.
You may want to check how many values are present for userPassword on
cn=username,dc=domain,dc=tld, and if there are multiple values, remove all or
all but one.