/[smeserver]/rpms/e-smith-base+ldap/sme7/e-smith-base+ldap-4.19.1-nss_policy-post_install-ssl_fix.patch
ViewVC logotype

Annotation of /rpms/e-smith-base+ldap/sme7/e-smith-base+ldap-4.19.1-nss_policy-post_install-ssl_fix.patch

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


Revision 1.2 - (hide annotations) (download)
Tue Oct 7 19:21:54 2008 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-base+ldap-4.19.1/root/etc/e-smith/db/configuration/defaults/ldap/generateDb mezzanine_patched_e-smith-base+ldap-4.19.1/root/etc/e-smith/db/configuration/defaults/ldap/generateDb
2     --- e-smith-base+ldap-4.19.1/root/etc/e-smith/db/configuration/defaults/ldap/generateDb 1969-12-31 17:00:00.000000000 -0700
3     +++ mezzanine_patched_e-smith-base+ldap-4.19.1/root/etc/e-smith/db/configuration/defaults/ldap/generateDb 2008-04-02 10:43:54.000000000 -0600
4     @@ -0,0 +1 @@
5     +yes
6     diff -Nur -x '*.orig' -x '*.rej' e-smith-base+ldap-4.19.1/root/etc/e-smith/templates/etc/ldap.conf/55bind_policy mezzanine_patched_e-smith-base+ldap-4.19.1/root/etc/e-smith/templates/etc/ldap.conf/55bind_policy
7     --- e-smith-base+ldap-4.19.1/root/etc/e-smith/templates/etc/ldap.conf/55bind_policy 1969-12-31 17:00:00.000000000 -0700
8     +++ mezzanine_patched_e-smith-base+ldap-4.19.1/root/etc/e-smith/templates/etc/ldap.conf/55bind_policy 2008-04-02 10:43:54.000000000 -0600
9     @@ -0,0 +1,2 @@
10     +# Allow read /etc/{passwd,groups,shadow} files when ldap is down.
11     +bind_policy soft
12     diff -Nur -x '*.orig' -x '*.rej' e-smith-base+ldap-4.19.1/root/etc/e-smith/templates/etc/ldap.conf/55initgroups_ignoreusers mezzanine_patched_e-smith-base+ldap-4.19.1/root/etc/e-smith/templates/etc/ldap.conf/55initgroups_ignoreusers
13     --- e-smith-base+ldap-4.19.1/root/etc/e-smith/templates/etc/ldap.conf/55initgroups_ignoreusers 2008-04-02 10:45:15.000000000 -0600
14     +++ mezzanine_patched_e-smith-base+ldap-4.19.1/root/etc/e-smith/templates/etc/ldap.conf/55initgroups_ignoreusers 1969-12-31 17:00:00.000000000 -0700
15     @@ -1 +0,0 @@
16     -nss_initgroups_ignoreusers ldap
17     diff -Nur -x '*.orig' -x '*.rej' e-smith-base+ldap-4.19.1/root/etc/e-smith/templates/etc/openldap/ldap.conf/12tls mezzanine_patched_e-smith-base+ldap-4.19.1/root/etc/e-smith/templates/etc/openldap/ldap.conf/12tls
18     --- e-smith-base+ldap-4.19.1/root/etc/e-smith/templates/etc/openldap/ldap.conf/12tls 2008-04-02 10:45:15.000000000 -0600
19     +++ mezzanine_patched_e-smith-base+ldap-4.19.1/root/etc/e-smith/templates/etc/openldap/ldap.conf/12tls 1969-12-31 17:00:00.000000000 -0700
20     @@ -1,3 +0,0 @@
21     -TLS_CACERT /var/service/ldap/ssl/slapd.pem
22     -TLS_REQCERT always
23     -TLS_CIPHER_SUITE HIGH:MEDIUM:+SSLv2
24     diff -Nur -x '*.orig' -x '*.rej' e-smith-base+ldap-4.19.1/root/var/service/ldap/run mezzanine_patched_e-smith-base+ldap-4.19.1/root/var/service/ldap/run
25     --- e-smith-base+ldap-4.19.1/root/var/service/ldap/run 2008-04-02 10:45:17.000000000 -0600
26     +++ mezzanine_patched_e-smith-base+ldap-4.19.1/root/var/service/ldap/run 2008-04-02 10:43:59.000000000 -0600
27     @@ -2,6 +2,7 @@
28    
29     domain=$(/sbin/e-smith/config get DomainName)
30     system=$(/sbin/e-smith/config get SystemName)
31     +generatedb=$(/sbin/e-smith/config getprop ldap generateDb)
32     ldif="/home/e-smith/db/ldap/$domain.ldif"
33    
34     ./control/1
35     @@ -18,6 +19,14 @@
36     fi
37     fi
38    
39     +# Ldap authentication post install
40     +if [ "$generatedb" == "yes" ]
41     +then
42     + find /var/lib/ldap -type f | xargs -i mv "{}" "{}.old"
43     + rm -f "$old_ldif" "$ldif"
44     + /sbin/e-smith/config setprop ldap generateDb no
45     +fi
46     +
47     # Set up symlink for ldap dump at shutdown
48     ln -sf $ldif ./ldif
49    

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