Hello !
I'm trying to setup master - slave ldap on ubuntu 8.10 (master) and gentoo slave. Got on the server side ldap base config (slapd 2.4.11-0ubuntu6.1) and slave openldap 2.3.43 plain file config.
Master config :
syncrepl_backend.ldif dn: olcDatabase={1}hdb,cn=config changetype: modify add: olcRootDN olcRootDN: cn=Manager,dc=mynet,dc=net - add: olcSyncRepl olcSyncRepl: rid=003 provider=ldap://server1.mynet.net binddn="cn=Manager,dc=mynet,dc=net" bindmethod=simple credentials=secret searchbase="dc=mynet,dc=net" type=refreshOnly interval=00:00:00:10 retry="5 5 300 5" timeout=1 olcSyncRepl: rid=004 provider=ldap://server2.mynet.net binddn="cn=Manager,dc=mynet,dc=net" bindmethod=simple credentials=secret searchbase="dc=mynet,dc=net" type=refreshOnly interval=00:00:00:10 retry="5 5 300 5" timeout=1 - add: olcMirrorMode olcMirrorMode: TRUE
dn: olcOverlay=syncprov,olcDatabase={1}hdb,cn=config changetype: add objectClass: olcOverlayConfig objectClass: olcSyncProvConfig olcOverlay: syncprov
and cliet config :
syncrepl rid=003 provider=ldap://server1.mynet.net:389 type=refreshOnly interval="00:00:00:10" retry="5 5 300 5" timeout="1" searchbase="dc=mynet,dc=net" bindmethod=simple binddn="cn=Manager,dc=mynet,dc=net" credentials=secret
It was working for sometime ... but now i get the error message (on client):
syncrepl_message_to_entry: rid 003 mods check (contextCSN: multiple values provided) do_syncrepl: rid 003 retrying (x retries left)
all the time and no sync is happening.
I was searching everywhere but i found no solution ... have somebody any idea what the problem is and how to solve it ?
Thanks
Kim