Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-4311

Unable to manage user status locally LDAP: error code 50 - 00002098

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.12.0
    • 2.6, 2.7.2, 2.8
    • None

    Description

      Steps to reproduce:

      1. Create a LDAP directory with read and write permission
      2. Turn on manage user Locally option
      3. Deactivate any user from the directory

      Expected Result
      The user has been deactivated without error, and the change is not propagated to the backing directory. See https://confluence.atlassian.com/display/CROWD/Deleting+or+Deactivating+a+User.

      End result:
      Error message :

      org.springframework.ldap.NoPermissionException: [LDAP: error code 50 - 00002098: SecErr: DSID-03150BB9, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0]; nested exception is javax.naming.NoPermissionException: [LDAP: error code 50 - 00002098: SecErr: DSID-03150BB9, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0]; remaining name 'SOME USER DN'
      

      Cause:
      I suspect this issue was caused by the Configured Bind DN user have insufficient permission to write on AD, as when you click on update, it will prompt to check user's detail as below:

      Managing user locally should not update anything to the LDAP/AD

      Attachments

        1. crowd.png
          crowd.png
          33 kB
        2. unnamed.png
          unnamed.png
          48 kB

        Issue Links

          Activity

            People

              ppetrowski Patryk
              wwong Wayne Wong (Inactive)
              Votes:
              9 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: