Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-1307

Error With Password Editor (LDAP Result Code 53)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.0.0-M17
    • 2.0.0-M18
    • None
    • None

    Description

      When I attempted to change a password on my teams test environment using the password editor I got the following error:

      [LDAP result code 53 - unwillingToPerform] Must supply correct old password to change to new one

      In the modification logs I see the following:
      #!RESULT ERROR

      #!CONNECTION OUR SERVER

      #!DATE OUR DATE

      #!ERROR [LDAP result code 53 - unwillingToPerform] Must supply correct old password to change to new one

      dn: OUR DN

      changetype: modify

      delete: userPassword

      userPassword:: OUR HASHED PASSWORD VALUE

      -

      add: userPassword

      userPassword:: OUR HASHED PASSWORD VALUE

      -

      Looking at older Apache DS Studio builds we had on an older laptop it, it looks like a change was made to the generated LDIF to to perform a delete/add when it originally performed a replace operation instead.  I tried creating a replace operation LDIF file and supplied it the created password hash and that still worked on the M17 build, so this appears to be an issue with trying to delete/add instead of replace.

      Our newer laptops are having compatibility issues with the older builds, and while this can be worked around it would be nice to have this working in the newer build.  If this change was made to address another issue then perhaps this should be configurable so this can be tweaked to work differently for different server environments.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mcharles2 Michael Charles
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: