I have successfully added Active Directory as a User Directory in Jira.
But I have a AD to Jira synch error.
Anyone hit this one before?
All/Any help appreciated!
Brad
Gory Details:
When I hit the synchronize link on http://prc-mn-jira-prod:8080/plugins/servlet/embedded-crowd/directories/list I get:
Last synchronised at 4/5/12 3:42 PM (took 0s). Synchronisation failed. See server logs for details
In the log the associated entry is:
2012-04-05 15:42:34,679 QuartzWorker-1 ERROR ServiceRunner [atlassian.crowd.directory.DbCachingDirectoryPoller] Error occurred while refreshing the cache for directory [ 10000 ].
com.atlassian.crowd.exception.OperationFailedException: Unable to synchronise directory: duplicate groups with name 'HK'
at com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher.synchroniseMemberships(AbstractCacheRefresher.java:131)
at com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher.synchroniseAll(AbstractCacheRefresher.java:42)
at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher.synchroniseAll(UsnChangedCacheRefresher.java:223)
at com.atlassian.crowd.directory.DbCachingRemoteDirectory.synchroniseCache(DbCachingRemoteDirectory.java:619)
at com.atlassian.crowd.manager.directory.DirectorySynchroniserImpl.synchronise(DirectorySynchroniserImpl.java:63)
at com.atlassian.crowd.directory.DbCachingDirectoryPoller.pollChanges(DbCachingDirectoryPoller.java:50)
at com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerJob.execute(DirectoryPollerJob.java:34)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Try check if there's more than 1 group with the same name under your AD? If there's any, you would require restrict the search or other workaround which suggested by Andrew
There's a JIRA KB article link with bug report:
Hi Brad,
The problem is that it looks like you have duplicate group names in AD:
com.atlassian.crowd.exception.OperationFailedException: Unable to synchronise directory: duplicate groups with name 'HK'
This has been previously been recorded at https://jira.atlassian.com/browse/CWD-2796 and https://jira.atlassian.com/browse/CONF-23213 (this one is for Confluence rather than JIRA, but both Confluence and JIRA use Crowd for user management and the problem is in Crowd). There isn't a fix for this at the moment, but there are a few workarounds suggest on the https://jira.atlassian.com/browse/CONF-23213 report:
Hope that helps?
Andrew.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The error message in this Question and in CONF-23213 are different. Obviously they are both Crowd errors and likely caused by the same issue but I wanted to call that out.
This is also affecting me, but in Confluence where I can't successfully synchronize with my Directory and as mentioned in CWD-2796, it can be difficult to get things changed in LDAP. I'd at least prefer it if it didn't bomb and stop processing everything else, and at least skipped that group or something and just gave a warning.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.