This content has been marked as final. Show 2 replies
1 person found this helpful
I would like to force synchronization between these 2 servers after the change is done, using Java. I am not able to find any mothod to do this by using the LDAPContext class.I don't believe there is one. The LDAP synchronization mechanism is pretty tuneable though, you should be able to get the synchronization intervals down to where you need them. Or you could reconfigure one of the servers as a proxy of the other.
LDAP synchronisation aka replication is non-standard and implemented differently on each vendor's implementation, thus there is no standard interface which Java can use. You'd be better off configuring the synchronisation directly on the AD side of things. You could potentically use Java to launch/execute a native ADSI script which forces synchronisation on AD if that is configured.