[Date Prev][Date Next]
Re: password-policy configuration problems: cannot change passwords
If that's true, would there be anyway to change the error text? Perhaps "Password policy overlay only allows one password value in dn - more than one found". If there's a clear reason for an error, I think the added text would be valuable to an administrator.
----- Original Message -----
From: openldap-technical-bounces@OpenLDAP.org <openldap-technical-bounces@OpenLDAP.org>
To: firstname.lastname@example.org <email@example.com>
Cc: Marco Weber <firstname.lastname@example.org>
Sent: Fri Dec 23 00:47:34 2011
Subject: 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: 188.8.131.52.184.108.40.206.220.127.116.11 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.
This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.