Menu

#51 Change Password creates duplicate userPassword attribute

v1.0_(example)
open
nobody
None
2
2018-09-20
2018-09-20
Craig
No

A common ACL setup involves denying read access to the userPassword attribute, but allowing writes. This makes the field 'write-only' so that, for example, helpdesk tecnicians cannot read password hashes but are able to reset a password.

If the 'Set Password' dialog is used while this type of ACL setup is in place, LDAP Admin uses an LDAP 'add' operation rather than 'replace'. As userPassword is a multivalued attribute as defined by rfc4519, this causes a duplicate 'userPassword' attribute to be added, leaving the old one in place.

This apparently is because LDAP Admin is not seeing the existing userPassword. If the ACLs are changed so that the user has read access to userPassword, the application uses a 'replace' operation which removes the old password.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.