slave install: apt-get install slapd /etc/init.d/slapd stop pushd /etc/ldap/ rm -rf schema/ slap.d/* rsync -avP server:/etc/ldap/{schema,slave-slapd.conf} . slaptest -f slave-slapd.conf -F slapd.d chown -R openldap:openldap slapd.d /etc/init.d/slapd start
Now, the slave-slapd.conf is set up to sync the dc=company,dc=com tree.
syncrepl rid=1234 provider=ldap://server:389/ type=refreshAndPersist searchbase="dc=company,dc=com" bindmethod=simple binddn="cn=slapd-sync,ou=System users,dc=company,dc=com" credentials=password retry="60 10 300 +"
slave-slapd.conf doesn't contain any mention of 'nodomain', nor does grep find it (currently, if it ever was there) in server:/etc/ldap/slapd.d/*
slave install: init.d/ slapd stop /etc/ldap/ {schema, slave-slapd. conf} . init.d/ slapd start
apt-get install slapd
/etc/
pushd /etc/ldap/
rm -rf schema/ slap.d/*
rsync -avP server:
slaptest -f slave-slapd.conf -F slapd.d
chown -R openldap:openldap slapd.d
/etc/
Now, the slave-slapd.conf is set up to sync the dc=company,dc=com tree.
syncrepl rid=1234
provider= ldap:// server: 389/
type= refreshAndPersi st
searchbase ="dc=company, dc=com"
bindmethod =simple
binddn= "cn=slapd- sync,ou= System users,dc= company, dc=com"
credential s=password
retry= "60 10 300 +"
slave-slapd.conf doesn't contain any mention of 'nodomain', nor does /etc/ldap/ slapd.d/ *
grep find it (currently, if it ever was there) in server: