Comment 21 for bug 112631

Revision history for this message
Wouter van Heyst (larstiq) wrote : Re: [apport] package slapd failed to install/upgrade:

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/*