Adding LDAP Replication
https://tylersguides.com/guides/openldap-multi-master-replication/ Build the new jail bastille create auth12 13.0-RELEASE 2001:n0p3:n0p3:20::123/120 lo1 bastille template auth12 larch/puppet Copy the backup files to the new host. cp /usr/local/bastille/jails/auth11/root/var/backups/ldap{,_confg}.db ~zach/ Move the files into place. mv ~zach/ldap{,_config}.db /usr/local/bastille/jails/auth12/root/var/backups/ bastille console auth12 service slapd stop rm /usr/local/etc/openldap/slapd.conf rm -rf /usr/local/etc/openldap/slapd.d/* slapadd -F /usr/local/etc/openldap/slapd.d/ -n0 -l /var/backups/ldap_config.ldif slapadd -F /usr/local/etc/openldap/slapd.d/ -n1 -c -l /var/backups/ldap.ldif service slapd start Load the module. dn: cn=module{0},cn=config changetype: modify add: olcModuleLoad olcModuleLoad: syncprov Add all of the peers. ...