/[smeserver]/rpms/e-smith-ldap/sme9/e-smith-ldap-5.4.0-dont_wipe_db_when_ldif_empty.patch
ViewVC logotype

Annotation of /rpms/e-smith-ldap/sme9/e-smith-ldap-5.4.0-dont_wipe_db_when_ldif_empty.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Oct 24 07:15:04 2014 UTC (9 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-ldap-5_4_0-13_el6_sme, e-smith-ldap-5_4_0-21_el6_sme, e-smith-ldap-5_4_0-17_el6_sme, e-smith-ldap-5_4_0-20_el6_sme, e-smith-ldap-5_4_0-16_el6_sme, e-smith-ldap-5_4_0-18_el6_sme, e-smith-ldap-5_4_0-15_el6_sme, e-smith-ldap-5_4_0-14_el6_sme, e-smith-ldap-5_4_0-19_el6_sme, e-smith-ldap-5_4_0-12_el6_sme, e-smith-ldap-5_6_0-1_el7_sme, e-smith-ldap-5_4_0-11_el6_sme, HEAD
* Fri Oct 24 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-11.sme
- Don't wipe LDAP DB when the ldif dump is empty [SME: 8619]

1 vip-ire 1.1 diff -Nur e-smith-ldap-5.4.0/root/var/service/ldap/run e-smith-ldap-5.4.0_bz8619/root/var/service/ldap/run
2     --- e-smith-ldap-5.4.0/root/var/service/ldap/run 2014-10-24 09:05:37.275000000 +0200
3     +++ e-smith-ldap-5.4.0_bz8619/root/var/service/ldap/run 2014-10-24 09:07:43.425000000 +0200
4     @@ -38,9 +38,6 @@
5     find /etc/openldap/slapd.d/ -mindepth 1 -maxdepth 1 -not -name unused -exec rm -rf {} \;
6     /sbin/e-smith/expand-template /etc/openldap/slapd.conf
7    
8     -# If the ldif dump is empty it's sme8beta: init ldap
9     -[ -s "$ldif" ] || rm -f /var/lib/ldap/id2entry.bdb
10     -
11     # Prime directory if required
12     if [ \! -f /var/lib/ldap/id2entry.bdb ]
13     then

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed