title: Change user password in LDAP using unboundid
body: <p>I'm trying to change the user password in LDAP, using the code below, I'm not the admin of the LDAP, so I make the connection with a user that have ou=systemusers, it can create users, and add the users to a group. I know the old password for the use that will do the change</p>
  
  <pre><code>PasswordModifyExtendedRequest passwordModifyRequest =
        new PasswordModifyExtendedRequest(
             "uid=test.user,ou=People,dc=example,dc=com", // The user to update
             (String) null, // The current password for the user.
             (String) null); // The new password.  null = server will generate
  
   PasswordModifyExtendedResult passwordModifyResult;
   try
   {
     passwordModifyResult = (PasswordModifyExtendedResult)
          connection.processExtendedOperation(passwordModifyRequest);
     // This doesn't necessarily mean that the operation was successful, since
     // some kinds of extended operations return non-success results under
     // normal conditions.
   }
   catch (LDAPException le)
   {
     // For an extended operation, this generally means that a problem was
     // encountered while trying to send the request or read the result.
     passwordModifyResult = new PasswordModifyExtendedResult(
          new ExtendedResult(le));
   }
  
   LDAPTestUtils.assertResultCodeEquals(passwordModifyResult,
        ResultCode.SUCCESS);
   String serverGeneratedNewPassword =
        passwordModifyResult.getGeneratedPassword();
  </code></pre>
  
  <p>but I always get this result.</p>
  
  <pre><code>PasswordModifyExtendedResult(resultCode=50 (insufficient access rights), messageID=4, diagnosticMessage='You do not have sufficient privileges to perform password reset operations') 
  </code></pre>
  
  <p>How can I change the user password Knowing the old password?</p>