1 |
slords |
1.1 |
diff -up e-smith-ldap-5.4.0/root/var/service/ldap/run.unused e-smith-ldap-5.4.0/root/var/service/ldap/run |
2 |
|
|
--- e-smith-ldap-5.4.0/root/var/service/ldap/run.unused 2013-03-09 16:25:38.339026168 -0700 |
3 |
|
|
+++ e-smith-ldap-5.4.0/root/var/service/ldap/run 2013-03-09 16:29:13.893517992 -0700 |
4 |
|
|
@@ -34,7 +34,8 @@ ln -sf $ldif ./ldif |
5 |
|
|
/sbin/e-smith/expand-template /var/lib/ldap/DB_CONFIG |
6 |
|
|
|
7 |
|
|
# Make sure we use the slapd.conf file instead of the new slapd.d |
8 |
|
|
-find /etc/openldap/slapd.d/ -mindepth 1 -maxdepth 1 -exec rm -rf {} \; |
9 |
|
|
+touch /etc/openldap/slapd.d/unused |
10 |
|
|
+find /etc/openldap/slapd.d/ -mindepth 1 -maxdepth 1 -not -name unused -exec rm -rf {} \; |
11 |
|
|
/sbin/e-smith/expand-template /etc/openldap/slapd.conf |
12 |
|
|
|
13 |
|
|
# If the ldif dump is empty it's sme8beta: init ldap |