| | |
| | | |
| | | |
| | | // Retrieve a write lock on that user's entry. |
| | | userDN = requestorEntry.getDN(); |
| | | userDN = requestorEntry.getName(); |
| | | |
| | | userLock = LockManager.lockWrite(userDN); |
| | | if (userLock == null) |
| | |
| | | return; |
| | | } |
| | | |
| | | userDN = userEntry.getDN(); |
| | | userDN = userEntry.getName(); |
| | | } |
| | | catch (DirectoryException de) |
| | | { |
| | |
| | | return; |
| | | } |
| | | |
| | | userDN = userEntry.getDN(); |
| | | userDN = userEntry.getName(); |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | else |
| | | { |
| | | selfChange = userDN.equals(requestorEntry.getDN()); |
| | | selfChange = userDN.equals(requestorEntry.getName()); |
| | | } |
| | | |
| | | if (! selfChange) |
| | |
| | | } |
| | | |
| | | // Get an internal connection and use it to perform the modification. |
| | | boolean isRoot = DirectoryServer.isRootDN(requestorEntry.getDN()); |
| | | boolean isRoot = DirectoryServer.isRootDN(requestorEntry.getName()); |
| | | AuthenticationInfo authInfo = new AuthenticationInfo(requestorEntry, |
| | | isRoot); |
| | | InternalClientConnection internalConnection = new |