Table des matières

Réplication LDAP avec SyncRepl

Sur le serveur maitre

Remarque : Syncrepl fonctionne unniquement avec des backend bdb ou hdb.

moduleload syncprov
index entryCSN,entryUUID        eq
lastmod         on
checkpoint 512 30
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 200

Sur le ou les esclaves

rootDN "uid=replication,ou=sysaccounts,o=exemple"

Remarque : Le rootpw n'est pas obligatoire.

index entryCSN,entryUUID        eq
lastmod         on
checkpoint 512 30
syncrepl        rid=2
               provider=ldap://ldap0:389
               type=refreshAndPersist
               retry="60 10 300 +"
               searchbase="o=exemple"
               filter="(objectClass=*)"
               schemachecking=off
               bindmethod=simple
               binddn="uid=replication,ou=sysaccounts,o=exemple"
               credentials=mypwd
updateref       ldap://ldap0:389

Remarques