diff -Nur e-smith-ldap-5.4.0/root/var/service/ldap/run e-smith-ldap-5.4.0-slapd.d/root/var/service/ldap/run --- e-smith-ldap-5.4.0/root/var/service/ldap/run 2013-02-21 22:40:20.915110979 +0100 +++ e-smith-ldap-5.4.0-slapd.d/root/var/service/ldap/run 2013-02-22 18:40:23.022212993 +0100 @@ -34,7 +34,7 @@ /sbin/e-smith/expand-template /var/lib/ldap/DB_CONFIG # Make sure we use the slapd.conf file instead of the new slapd.d -rm -rf /etc/openldap/slapd.d +find /etc/openldap/slapd.d/ -mindepth 1 -maxdepth 1 -exec rm -rf {} \; /sbin/e-smith/expand-template /etc/openldap/slapd.conf # If the ldif dump is empty it's sme8beta: init ldap