[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: 220.127.116.11.18.104.22.168.22.214.171.124 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.