cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP Sync Error

moffel
Champ in-the-making
Champ in-the-making
Hi,

I have an Error Message when trying to synchronize with our LDAP Server. I have configured the Sync to perform every 30min. The Error is not present every sync run, but several times a day.

Any ideas how to fix this issue?


07:40:00,409 ERROR [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-2] Synchronization aborted due to error
org.alfresco.error.AlfrescoRuntimeException: 11020056 Error during LDAP Search. Reason:null
   at org.alfresco.repo.security.sync.ldap.LDAPUserRegistry.processQuery(LDAPUserRegistry.java:1298)
   at org.alfresco.repo.security.sync.ldap.LDAPUserRegistry.getPersonNames(LDAPUserRegistry.java:556)
   at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1Analyzer.processGroups(ChainingUserRegistrySynchronizer.java:1462)
   at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1Analyzer.access$1400(ChainingUserRegistrySynchronizer.java:960)
   at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer.syncWithPlugin(ChainingUserRegistrySynchronizer.java:1680)
   at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer.synchronizeInternal(ChainingUserRegistrySynchronizer.java:700)
   at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer.synchronize(ChainingUserRegistrySynchronizer.java:429)
   at org.alfresco.repo.security.sync.UserRegistrySynchronizerJob$1.doWork(UserRegistrySynchronizerJob.java:46)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
   at org.alfresco.repo.security.sync.UserRegistrySynchronizerJob.execute(UserRegistrySynchronizerJob.java:42)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: javax.naming.PartialResultException [Root exception is javax.naming.ServiceUnavailableException: DOMAIN.INT:389; socket closed [Root exception is com.sun.jndi.ldap.LdapReferralException: Continuation Reference; remaining name 'dc=domain,dc=int']; remaining name '']
   at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(Unknown Source)
   at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreReferrals(Unknown Source)
   at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(Unknown Source)
   at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreReferrals(Unknown Source)
   at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(Unknown Source)
   at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(Unknown Source)
   at org.alfresco.repo.security.sync.ldap.LDAPUserRegistry.processQuery(LDAPUserRegistry.java:1279)
   … 11 more
2 REPLIES 2

belmont
Champ in-the-making
Champ in-the-making
It would be great if someone copy paste a working LDAP config with Win2012 AD and alfresco as i have been burning days without any success with the current version.

My log error is slightly different:

2015-12-18 14:34:48,122 ERROR [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization aborted due to error
org.alfresco.error.AlfrescoRuntimeException: 11180002 Error during LDAP Search. Reason:domain:389

belmont
Champ in-the-making
Champ in-the-making