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

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

      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

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

            [CWD-4311] Unable to manage user status locally LDAP: error code 50 - 00002098

            Monique Khairuliana (Inactive) made changes -
            Epic Link Original: CWD-4704 [ 600140 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 1508559 ] New: JAC Bug Workflow v3 [ 3365795 ]
            Owen made changes -
            Symptom Severity Original: Major [ 14431 ] New: Severity 2 - Major [ 15831 ]
            Mareusz (Inactive) made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 279737 ]
            Patryk made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 269473 ]
            Patryk made changes -
            Fix Version/s New: 2.12.0 [ 66140 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Verified [ 10005 ] New: Closed [ 6 ]
            Patryk made changes -
            Assignee New: Patryk [ ppetrowski ]
            Lukasz Pater made changes -
            Link New: This issue relates to CWD-4110 [ CWD-4110 ]
            Mareusz (Inactive) made changes -
            Remote Link New: This issue links to "KRAK-254 (JIRA Server (Bulldog))" [ 238554 ]
            jonah (Inactive) made changes -
            Symptom Severity New: Major [ 14431 ]

              ppetrowski Patryk
              wwong Wayne Wong
              Affected customers:
              9 This affects my team
              Watchers:
              15 Start watching this issue

                Created:
                Updated:
                Resolved: