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-13 16:21:50.000000000 +0100 +++ e-smith-ldap-5.4.0-slapd.d/root/var/service/ldap/run 2013-02-21 20:06:35.372365624 +0100 @@ -33,6 +33,10 @@ /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 +/sbin/e-smith/expand-template /etc/openldap/slapd.conf + # If the ldif dump is empty it's sme8beta: init ldap [ -s "$ldif" ] || rm -f /var/lib/ldap/id2entry.bdb