/[smeserver]/rpms/e-smith-ldap/sme8/e-smith-ldap-5.2.0-ldap-auth.patch
ViewVC logotype

Annotation of /rpms/e-smith-ldap/sme8/e-smith-ldap-5.2.0-ldap-auth.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Nov 2 17:03:38 2010 UTC (14 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: e-smith-ldap-5_2_0-76_el5_sme, e-smith-ldap-5_2_0-71_el5_sme, e-smith-ldap-5_2_0-77_el5_sme, e-smith-ldap-5_2_0-78_el5_sme, e-smith-ldap-5_2_0-61_el5_sme, e-smith-ldap-5_2_0-66_el5_sme, e-smith-ldap-5_2_0-70_el5_sme, e-smith-ldap-5_2_0-79_el5_sme, e-smith-ldap-5_2_0-81_el5_sme, e-smith-ldap-5_2_0-59_el5_sme, e-smith-ldap-5_2_0-75_el5_sme, e-smith-ldap-5_2_0-73_el5_sme, e-smith-ldap-5_2_0-69_el5_sme, e-smith-ldap-5_2_0-72_el5_sme, e-smith-ldap-5_2_0-65_el5_sme, e-smith-ldap-5_2_0-80_el5_sme, e-smith-ldap-5_2_0-74_el5_sme, e-smith-ldap-5_2_0-63_el5_sme, e-smith-ldap-5_2_0-60_el5_sme, e-smith-ldap-5_2_0-62_el5_sme, e-smith-ldap-5_2_0-68_el5_sme, e-smith-ldap-5_2_0-67_el5_sme, e-smith-ldap-5_2_0-64_el5_sme, HEAD
Add routines for ldap auth

1 slords 1.1 diff -up e-smith-ldap-5.2.0/root/etc/e-smith/db/configuration/defaults/ldap/Authentication.ldap-auth e-smith-ldap-5.2.0/root/etc/e-smith/db/configuration/defaults/ldap/Authentication
2     --- e-smith-ldap-5.2.0/root/etc/e-smith/db/configuration/defaults/ldap/Authentication.ldap-auth 2010-11-01 08:15:53.000000000 -0600
3     +++ e-smith-ldap-5.2.0/root/etc/e-smith/db/configuration/defaults/ldap/Authentication 2010-11-01 08:16:02.000000000 -0600
4     @@ -0,0 +1 @@
5     +disabled
6     diff -up e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-delete.ldap-auth e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-delete
7     --- e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-delete.ldap-auth 2010-11-01 08:15:05.000000000 -0600
8     +++ e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-delete 2010-11-01 08:18:36.000000000 -0600
9     @@ -29,6 +29,8 @@ use Net::LDAP;
10    
11     my $db = esmith::ConfigDB->open_ro or die "Could not open config db";
12    
13     +exit(0) if ($db->get('ldap')->prop('Authentication') || 'disabled') eq 'enabled';
14     +
15     unless ($db->get('ldap')->prop('status') eq "enabled" )
16     {
17     warn "Not running action script $0, LDAP service not enabled!\n";

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