com.atlassian.confluence.user.UserManagementOperationFailedException: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=confluence,DC=atlassian' ]; remaining name 'OU=sydney,DC=confluence,DC=atlassian'

Atlassian JIRA | Lauretha Rura [Atlassian] | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    h3. Summary Confluence admin is not able to create new group in Confluence instance should one of the User Directories in that instance is problematic. h3. Steps to Reproduce # Add one External LDAP User Directory (_Read Only with Local Groups_) in your Confluence instance and make sure that you can connect to this LDAP server and retrieved users and groups from this LDAP server. # Add another External LDAP User Directory (_Read Only with Local Groups_) in your instance. However, please ensure that this directory is problematic (e.g. synchronisation would kept on failing/Base DN does not actually exist). # Navigate to *Confluence Administration panel >> User management >> Groups* and try to add a local group by clicking _Add Group_. h3. Expected Results Confluence admin would be able to create local group successfully. h3. Actual Results Confluence admin is not able to create local group successfully with the errors shown in the attached screenshot displayed in the Confluence UI. {code} Failed to create the group 'admins'. Check your server logs for more information {code} The following appears in Atlassian-Confluence.log: {code} 2016-01-11 14:55:59,181 ERROR [ajp-nio-8009-exec-2464] [confluence.user.actions.BrowseGroupsAction] doAdd Failed to create group: admins -- referer: <base_url>/admin/users/browsegroups.action | url: /admin/users/creategroup.action | userName: admin | action: creategroup com.atlassian.confluence.user.UserManagementOperationFailedException: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=confluence,DC=atlassian' ]; remaining name 'OU=sydney,DC=confluence,DC=atlassian' at com.atlassian.confluence.user.DefaultUserAccessor.createGroup(DefaultUserAccessor.java:347) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ... Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=confluence,DC=atlassian' ]; remaining name 'OU=sydney,DC=confluence,DC=atlassian' {code} Where *'OU=sydney,DC=confluence,DC=atlassian'* is the base DN of the problematic user directory h3. Workaround Disable/Delete the problematic User Directory before recreating group

    Atlassian JIRA | 1 year ago | Lauretha Rura [Atlassian]
    com.atlassian.confluence.user.UserManagementOperationFailedException: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=confluence,DC=atlassian' ]; remaining name 'OU=sydney,DC=confluence,DC=atlassian'
  2. 0

    h3. Summary Confluence admin is not able to create new group in Confluence instance should one of the User Directories in that instance is problematic. h3. Steps to Reproduce # Add one External LDAP User Directory (_Read Only with Local Groups_) in your Confluence instance and make sure that you can connect to this LDAP server and retrieved users and groups from this LDAP server. # Add another External LDAP User Directory (_Read Only with Local Groups_) in your instance. However, please ensure that this directory is problematic (e.g. synchronisation would kept on failing/Base DN does not actually exist). # Navigate to *Confluence Administration panel >> User management >> Groups* and try to add a local group by clicking _Add Group_. h3. Expected Results Confluence admin would be able to create local group successfully. h3. Actual Results Confluence admin is not able to create local group successfully with the errors shown in the attached screenshot displayed in the Confluence UI. {code} Failed to create the group 'admins'. Check your server logs for more information {code} The following appears in Atlassian-Confluence.log: {code} 2016-01-11 14:55:59,181 ERROR [ajp-nio-8009-exec-2464] [confluence.user.actions.BrowseGroupsAction] doAdd Failed to create group: admins -- referer: <base_url>/admin/users/browsegroups.action | url: /admin/users/creategroup.action | userName: admin | action: creategroup com.atlassian.confluence.user.UserManagementOperationFailedException: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=confluence,DC=atlassian' ]; remaining name 'OU=sydney,DC=confluence,DC=atlassian' at com.atlassian.confluence.user.DefaultUserAccessor.createGroup(DefaultUserAccessor.java:347) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ... Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=confluence,DC=atlassian' ]; remaining name 'OU=sydney,DC=confluence,DC=atlassian' {code} Where *'OU=sydney,DC=confluence,DC=atlassian'* is the base DN of the problematic user directory h3. Workaround Disable/Delete the problematic User Directory before recreating group

    Atlassian JIRA | 1 year ago | Lauretha Rura [Atlassian]
    com.atlassian.confluence.user.UserManagementOperationFailedException: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=confluence,DC=atlassian' ]; remaining name 'OU=sydney,DC=confluence,DC=atlassian'
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.confluence.user.UserManagementOperationFailedException

      javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=confluence,DC=atlassian' ]; remaining name 'OU=sydney,DC=confluence,DC=atlassian'

      at com.atlassian.confluence.user.DefaultUserAccessor.createGroup()
    2. com.atlassian.confluence
      DefaultUserAccessor.createGroup
      1. com.atlassian.confluence.user.DefaultUserAccessor.createGroup(DefaultUserAccessor.java:347)
      1 frame
    3. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3 frames