Monday, February 16, 2009

Replcate openLDAP directory

I have the follwoing lines in /etc/openldap/slapd.conf after all the authz clauses to to replcate the LDAP directory from master once a day
syncrepl rid=123
provider=ldap://master:389/
type=refreshOnly
interval=01:00:00:00
searchbase="dc=examples,dc=com"
schemachecking=off
bindmethod=simple
binddn="uid=Replicator,ou=System Accounts,dc=examples,dc=com"
credentials=mysecret

No comments: