AnsweredAssumed Answered

LDAP Sync Error

Question asked by moffel on Dec 2, 2015
Latest reply on Dec 18, 2015 by belmont
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

Outcomes