Retry user synchronization from AD

cancel
Showing results for 
Search instead for 
Did you mean: 
sistemi
Active Member

Retry user synchronization from AD

Hi everybody, in my environment I have set Alfresco to synchronize users from AD every hour using synchronization.import.cron parameter.

I noticed that sometimes the synchronization job fails because it receives an error like this: javax.naming.ServiceUnavailableException: DomainDnsZones.a.b.c.com:389; socket closed [Root exception is com.sun.jndi.ldap.LdapReferralException: Continuation Reference; remaining name ..

It looks like that sometimes the domain controller a.b.c.com (it is a round robin DNS name  that includes 4 domain controllers) does not reply and the synchronization job fails, but Alfresco does not retry, so I have to wait for the next hour to have new users synchronized.

Is there a way to make Alfresco retry the synchronization?

2 Replies

Re: Retry user synchronization from AD

You can use an external addon:

https://github.com/OrderOfTheBee/ootbee-support-tools

This project will allow you to retry synchronization just hitting a button.

Software Engineer in Alfresco Search Team.
sistemi
Active Member

Re: Retry user synchronization from AD

Very interesting, thank you! I will give a look and try that tool.