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.