Update the password modify extended operation to ensure that if an
authorization ID is provided using the "dn:" form and an alternate root bind DN
(e.g., "cn=Directory Manager" instead of
"cn=Directory Manager,cn=Root DNs,cn=config") the server will properly map it
to the actual DN for the user.
OpenDS Issue Number: 677
| | |
| | | return; |
| | | } |
| | | |
| | | // If the provided DN is an alternate DN for a root user, then replace |
| | | // it with the actual root DN. |
| | | DN actualRootDN = DirectoryServer.getActualRootBindDN(userDN); |
| | | if (actualRootDN != null) |
| | | { |
| | | userDN = actualRootDN; |
| | | } |
| | | |
| | | userEntry = getEntryByDN(operation, userDN); |
| | | if (userEntry == null) |
| | | { |