Details
-
Bug
-
Resolution: Fixed
-
Medium
-
1.6
-
None
-
AD Change Detection
Description
If the baseDN is not set to the root of the tree, change detection does not function.
2008-12-04 16:49:36,878 DefaultQuartzScheduler_Worker-2 WARN [springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob] Invocation of method 'pollChanges' on target class [class com.atlassian.crowd.integration.directory.monitor.poller.USNChangedPoller] failed org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001E4, problem 2001 (NO_OBJECT), data 0, best match of: 'OU=child-0,OU=Bulk,OU=Test,DC=dc-one,DC=crowd,DC=sydney,DC=atlassian,DC=com' ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001E4, problem 2001 (NO_OBJECT), data 0, best match of: 'OU=child-0,OU=Bulk,OU=Test,DC=dc-one,DC=crowd,DC=sydney,DC=atlassian,DC=com' ]; remaining name 'CN=Deleted Objects,ou=child-0,ou=Bulk,ou=Test,dc=dc-one, dc=crowd, dc=sydney, dc=atlassian, dc=com' at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:171) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:296) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:229) at com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector.pageSearchResults(SpringLDAPConnector.java:935) at com.atlassian.crowd.integration.directory.connector.MicrosoftActiveDirectory.findRemovedObjectGUIDsSince(MicrosoftActiveDirectory.java:392) at com.atlassian.crowd.integration.directory.connector.MicrosoftActiveDirectory.findRemovedPrincipalGUIDsSince(MicrosoftActiveDirectory.java:299) at com.atlassian.crowd.integration.directory.monitor.poller.USNChangedPoller.pollPrincipalChanges(USNChangedPoller.java:125) at com.atlassian.crowd.integration.directory.monitor.poller.USNChangedPoller.pollChanges(USNChangedPoller.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:275) at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:272) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001E4, problem 2001 (NO_OBJECT), data 0, best match of: 'OU=child-0,OU=Bulk,OU=Test,DC=dc-one,DC=crowd,DC=sydney,DC=atlassian,DC=com' ]; remaining name 'CN=Deleted Objects,ou=child-0,ou=Bulk,ou=Test,dc=dc-one, dc=crowd, dc=sydney, dc=atlassian, dc=com' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3010) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737) at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1808) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1731) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338) at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:257) at org.springframework.ldap.core.LdapTemplate$3.executeSearch(LdapTemplate.java:225) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:283) ... 15 more