Our Alfresco instance was set to synchronize with AD changes only.
synchronization.synchronizeChangesOnly=true
ldap.synchronization.personDifferentialQuery=(&(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(!(whenChanged<\={0})))
After some trouble with server infrastracture, last change was set as Oct 4, 2037, so in alfresco.log we have
2019-06-26 14:49:23,391 INFO [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Retrieving users changed since Oct 4, 2037 7:33:33 PM from user registry 'ldap1'
How to reset this date to current?
I have tried to restart alfresco in Full synchronization mode with
synchronization.synchronizeChangesOnly=false
All users were synchronized but after returning to synchronizeChangesOnly mode and restarting alfresco, synchronization started since 2037 year again.
Hi:
Have both your AD server and Alfresco server the correct date ?
Regards.
--C.
Alfresco has correct date.
As for AD server, I suppose it should be correct, I am waiting confirmation from admin.
Currently the date both on Alfresco server and on AD server is correct. Alfresco had been restarted yesteday, but synchronization is still retrieving users since 2037
2019-06-27 12:00:00,144 INFO [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Synchronizing users and groups with user registry 'ldap1'
2019-06-27 12:00:00,144 WARN [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Full synchronization with user registry 'ldap1'
2019-06-27 12:00:00,144 WARN [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Deletions are disabled. Users and groups removed from this registry will be logged only and will remain in the repository. Users previously found in a different registry will be moved in the repository rather than recreated.
2019-06-27 12:00:00,164 INFO [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Retrieving groups changed since Apr 17, 2019 4:14:25 PM from user registry 'ldap1'
2019-06-27 12:00:00,195 INFO [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Synchronization,Category=directory,id1=ldap1,id2=1 Group Analysis: Commencing batch of 0 entries
2019-06-27 12:00:00,195 INFO [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Synchronization,Category=directory,id1=ldap1,id2=1 Group Analysis: Completed batch of 0 entries
2019-06-27 12:00:01,139 INFO [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] ldap1 Missing Authority Scanning: Commencing batch of 0 entries
2019-06-27 12:00:01,139 INFO [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] ldap1 Missing Authority Scanning: Completed batch of 0 entries
2019-06-27 12:00:01,143 INFO [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Retrieving users changed since Oct 4, 2037 7:33:33 PM from user registry 'ldap1'
2019-06-27 12:00:01,200 INFO [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Synchronization,Category=directory,id1=ldap1,id2=6 User Creation and Association: Commencing batch of 0 entries
2019-06-27 12:00:01,200 INFO [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Synchronization,Category=directory,id1=ldap1,id2=6 User Creation and Association: Completed batch of 0 entries
2019-06-27 12:00:01,218 INFO [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Finished synchronizing users and groups with user registry 'ldap1'
2019-06-27 12:00:01,218 INFO [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] 0 user(s) and 0 group(s) processed
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.