Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and Data Center
  2. JRASERVER-24985

Connection to LDAP server fails with error code 32 due to space char in BaseDN

    XMLWordPrintable

    Details

      Description

      If BaseDN consists a space character in the definition of the root node:

      despite returning 'OK' on testing, JIRA fails on sync with error code 32

      2011-07-05 15:57:54,384 QuartzWorker-1 ERROR ServiceRunner     [atlassian.crowd.directory.DbCachingDirectoryPoller] Error occurred while refreshing the cache for directory [ 10002 ].
      com.atlassian.crowd.exception.OperationFailedException: java.util.concurrent.ExecutionException: com.atlassian.crowd.exception.OperationFailedException: org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001E4, problem 2001 (NO_OBJECT), data 0, best match of:
      	'DC=win2k8,DC=local'
      ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001E4, problem 2001 (NO_OBJECT), data 0, best match of:
      	'DC=win2k8,DC=local'
      ]; remaining name 'ou=users, DC=win2k8,DC=local'
      	at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher.synchroniseAllUsers(UsnChangedCacheRefresher.java:252)
      	at com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher.synchroniseAll(AbstractCacheRefresher.java:33)
      ...
      Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001E4, problem 2001 (NO_OBJECT), data 0, best match of:
      	'DC=win2k8,DC=local'
      ]; remaining name 'ou=users, DC=win2k8,DC=local'
      	at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3066)
      	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
      	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794)
      	at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1826)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jpendleton Justus Pendleton (Inactive)
              Reporter:
              bdziedzic Bogdan Dziedzic [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: