mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
28.15.2007 5133f4340c33425a6a2cba4b8764d6e684b37da4
opends/src/server/org/opends/server/core/ModifyOperation.java
@@ -810,7 +810,7 @@
      // If the user must change their password before doing anything else, and
      // if the target of the modify operation isn't the user's own entry, then
      // reject the request.
      if (clientConnection.mustChangePassword())
      if ((! isInternalOperation()) && clientConnection.mustChangePassword())
      {
        DN authzDN = getAuthorizationDN();
        if ((authzDN != null) && (! authzDN.equals(entryDN)))
@@ -2450,7 +2450,8 @@
            break modifyProcessing;
          }
        }
        else if(pwPolicyState.mustChangePassword())
        else if ((! isInternalOperation()) &&
                 pwPolicyState.mustChangePassword())
        {
          // The user will not be allowed to do anything else before
          // the password gets changed.