master2master sync

ldap server1:

slapd.conf

....
database        bdb
....
overlay            syncprov
syncprov-checkpoint 100 10

serverID      1    
syncrepl      rid=000
              provider=ldap://192.100.100.11
              bindmethod=simple
              binddn="cn=admin,dc=example1,dc=com"
              credentials=_SECRET_PW_
              searchbase="dc=example1,dc=com"
              schemachecking=on
              type=refreshAndPersist
              retry="60 +"
mirrormode    on

ldap server2:

slapd.conf

....

database        bdb

....

overlay            syncprov
syncprov-checkpoint 100 10

serverID       2    
syncrepl       rid=000
               provider=ldap://192.100.100.10
               bindmethod=simple
               binddn="cn=admin,dc=example1,dc=com"
               credentials=_SECRET_PW_
               searchbase="dc=example1,dc=com"
               schemachecking=on
               type=refreshAndPersist
               retry="60 +"
 mirrormode    on
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s