919
modifications
Ligne 146 : | Ligne 146 : | ||
=== Copy over LDAP databases === | === Copy over LDAP databases === | ||
Stop the LDAP server and delete the existing configuration '''on the new server (careful there)''': | Stop the LDAP server and delete the existing configuration and data '''on the new server (careful there)''': | ||
systemctl stop slapd | systemctl stop slapd | ||
rm -r /etc/ldap/slapd.d/* | rm -r /etc/ldap/slapd.d/* | ||
rm /var/lib/ldap/data.mdb | |||
Then copy over the config and data by running these commands from the old server: | Then copy over the config and data by running these commands from the old server: |