Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-8074

Changing an user password with the same value returns 400 with ldap errorcode=20

    Details

    • Support Ticket IDs:

      Description

      STEPS TO REPRODUCE

      1.) Create the bjensen user with password secret12
      2.) Change password with the same value

      curl -X POST -H "iPlanetDirectoryPro: <USER TOKEN>" \
      -H "Content-Type: application/json" \
      -H "Cache-Control: no-cache" \
      -d '{
          "currentpassword": "secret12",
          "username": "testPostUserUpdatePassword",
          "userpassword": "secret12"
      }' 'http://riso-centos7.test.forgerock.com:8080/openam/json/users/bjensen?_action=changePassword'
      

      Observed result:

        "code": 400,
        "reason": "Bad Request",
        "message": "Plug-in org.forgerock.openam.idrepo.ldap.DJLDAPv3Repo encountered a ldap exception.  ldap errorcode=20"
      

      Expected result:

        "code": 400,
        "reason": "Bad Request",
        "message": "Cannot change password with the same value"
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                quentin.castel Quentin CASTEL [X] (Inactive)
                Reporter:
                richard.hruza Richard Hruza
                QA Assignee:
                Richard Hruza
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3h Original Estimate - 3h
                  3h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 6h
                  6h