Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-37450

Unable to sync AD server - LDAP: error code 34 - 0000208F

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Support Request
    • Icon: Low Low
    • None
    • 5.7.3
    • None

      Getting error trying to sync LDAP...

      2015-05-05 14:07:30,073 INFO [scheduler_Worker-3] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] findGroupsToUpdate scanned and compared [ 17819 ] groups for update in DB cache in [ 2246ms ]
      2015-05-05 14:07:30,174 INFO [scheduler_Worker-3] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedGroups synchronized [ 17819 ] groups in [ 2347ms ]
      2015-05-05 14:07:31,598 INFO [scheduler_Worker-3] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] deleteCachedGroupsNotIn scanned and compared [ 17819 ] groups for delete in DB cache in [ 1423ms ]
      2015-05-05 14:08:34,036 INFO [scheduler_Worker-3] [directory.ldap.cache.AbstractCacheRefresher] logIfNecessary migrated memberships for group - (2786/17819 - 15.6%) 62274ms elapsed
      2015-05-05 14:09:34,742 INFO [scheduler_Worker-3] [directory.ldap.cache.AbstractCacheRefresher] logIfNecessary migrated memberships for group - (6612/17819 - 37.1%) 122980ms elapsed
      2015-05-05 14:09:46,454 INFO [scheduler_Worker-3] [atlassian.crowd.directory.DbCachingRemoteDirectory] synchroniseCache failed synchronisation complete for directory [ 17793025 ] in [ 167559ms ]
      2015-05-05 14:09:46,460 ERROR [scheduler_Worker-3] [atlassian.crowd.directory.DbCachingDirectoryPoller] pollChanges Error occurred while refreshing the cache for directory [ 17793025 ].
      org.springframework.ldap.InvalidNameException: cn=read.grp.njstscrdd03.bopldumps_murexdata
      cnf:f63882e0-8336-46c4-960b-b504692641b5,ou=folder system access,ou=groups,ou=new-york,dc=corp,dc=tdsecurities,dc=com: [LDAP: error code 34 - 0000208F: NameErr: DSID-031001BA, problem 2006 (BAD_NAME), data 8349, best match of:
              'cn=read.grp.njstscrdd03.bopldumps_murexdata
      cnf:f63882e0-8336-46c4-960b-b504692641b5,ou=folder system access,ou=groups,ou=new-york,dc=corp,dc=tdsecurities,dc=com'
      ]; nested exception is javax.naming.InvalidNameException: cn=read.grp.njstscrdd03.bopldumps_murexdata
      cnf:f63882e0-8336-46c4-960b-b504692641b5,ou=folder system access,ou=groups,ou=new-york,dc=corp,dc=tdsecurities,dc=com: [LDAP: error code 34 - 0000208F: NameErr: DSID-031001BA, problem 2006 (BAD_NAME), data 8349, best match of:
              'cn=read.grp.njstscrdd03.bopldumps_murexdata
      cnf:f63882e0-8336-46c4-960b-b504692641b5,ou=folder system access,ou=groups,ou=new-york,dc=corp,dc=tdsecurities,dc=com'
      ]; remaining name 'cn=read.grp.njstscrdd03.bopldumps_murexdata
      cnf:f63882e0-8336-46c4-960b-b504692641b5,ou=folder system access,ou=groups,ou=new-york,dc=corp,dc=tdsecurities,dc=com'
              at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:136)
              at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:820)
              at org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:803)
              at org.springframework.ldap.core.LdapTemplate.lookup(LdapTemplate.java:935)
              at com.atlassian.crowd.directory.ldap.SpringLdapTemplateWrapper$9.timedCall(SpringLdapTemplateWrapper.java:286)
              at com.atlassian.crowd.directory.ldap.SpringLdapTemplateWrapper$TimedCallable.call(SpringLdapTemplateWrapper.java:124)
              at com.atlassian.crowd.directory.ldap.SpringLdapTemplateWrapper.invokeWithContextClassLoader(SpringLdapTemplateWrapper.java:87)
              at com.atlassian.crowd.directory.ldap.SpringLdapTemplateWrapper.lookup(SpringLdapTemplateWrapper.java:282)
              at com.atlassian.crowd.directory.RFC4519Directory.findDirectMembersOfGroup(RFC4519Directory.java:959)
              at com.atlassian.crowd.directory.MicrosoftActiveDirectory.findDirectMembersOfGroup(MicrosoftActiveDirectory.java:516)
              at com.atlassian.crowd.directory.RFC4519DirectoryMembershipsIterable$2.apply(RFC4519DirectoryMembershipsIterable.java:78)
              at com.atlassian.crowd.directory.RFC4519DirectoryMembershipsIterable$2.apply(RFC4519DirectoryMembershipsIterable.java:70)
              at com.google.common.collect.Iterators$8.next(Iterators.java:812)
              at com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher.synchroniseMemberships(AbstractCacheRefresher.java:128)
              at com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher.synchroniseAll(AbstractCacheRefresher.java:84)
              at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher.synchroniseAll(UsnChangedCacheRefresher.java:161)
              at com.atlassian.crowd.directory.DbCachingRemoteDirectory.synchroniseCache(DbCachingRemoteDirectory.java:1120)
              at com.atlassian.crowd.manager.directory.DirectorySynchroniserImpl.synchronise(DirectorySynchroniserImpl.java:76)
              at com.atlassian.crowd.directory.DbCachingDirectoryPoller.pollChanges(DbCachingDirectoryPoller.java:50)
              at com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerJobRunner.runJob(DirectoryPollerJobRunner.java:93)
              at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:135)
              at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:101)
              at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:80)
              at com.atlassian.scheduler.quartz1.Quartz1Job.execute(Quartz1Job.java:32)
              at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
              at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:22)
              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      Caused by: javax.naming.InvalidNameException: cn=read.grp.njstscrdd03.bopldumps_murexdata
      cnf:f63882e0-8336-46c4-960b-b504692641b5,ou=folder system access,ou=groups,ou=new-york,dc=corp,dc=tdsecurities,dc=com: [LDAP: error code 34 - 0000208F: NameErr: DSID-031001BA, problem 2006 (BAD_NAME), data 8349, best match of:
              'cn=read.grp.njstscrdd03.bopldumps_murexdata
      cnf:f63882e0-8336-46c4-960b-b504692641b5,ou=folder system access,ou=groups,ou=new-york,dc=corp,dc=tdsecurities,dc=com'
      ]; remaining name 'cn=read.grp.njstscrdd03.bopldumps_murexdata
      cnf:f63882e0-8336-46c4-960b-b504692641b5,ou=folder system access,ou=groups,ou=new-york,dc=corp,dc=tdsecurities,dc=com'
              at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
              at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
              at com.sun.jndi.ldap.LdapCtx.c_getAttributes(Unknown Source)
              at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)
              at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)
              at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)
              at sun.reflect.GeneratedMethodAccessor420.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at org.springframework.ldap.transaction.compensating.manager.TransactionAwareDirContextInvocationHandler.invoke(TransactionAwareDirContextInvocationHandler.java:90)
              at com.sun.proxy.$Proxy2686.getAttributes(Unknown Source)
              at org.springframework.ldap.core.LdapTemplate$17.executeWithContext(LdapTemplate.java:937)
              at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:817)
              ... 25 more
      

              Unassigned Unassigned
              111ff088cad4 Matthew Green
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: