/[smeserver]/rpms/e-smith-ibays/sme8/e-smith-ibays-2.2.0-dont_modify_primary.patch
ViewVC logotype

Annotation of /rpms/e-smith-ibays/sme8/e-smith-ibays-2.2.0-dont_modify_primary.patch

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


Revision 1.1 - (hide annotations) (download)
Thu Oct 27 09:07:36 2011 UTC (13 years ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-ibays-2_2_0-13_el5_sme, e-smith-ibays-2_2_0-10_el5_sme, e-smith-ibays-2_2_0-15_el5_sme, e-smith-ibays-2_2_0-11_el5_sme, e-smith-ibays-2_2_0-14_el5_sme, e-smith-ibays-2_2_0-16_el5_sme, HEAD
* Thu Oct 27 2011 Daniel B. <daniel@firewall-services.com>  2.2.0-10.sme
- Don't try to modify Primary unix/ldap account [SME:6770]

1 vip-ire 1.1 diff -Nur e-smith-ibays-2.2.0/root/etc/e-smith/events/actions/ibay-modify e-smith-ibays-2.2.0_mod/root/etc/e-smith/events/actions/ibay-modify
2     --- e-smith-ibays-2.2.0/root/etc/e-smith/events/actions/ibay-modify 2011-10-26 13:34:00.000000000 +0200
3     +++ e-smith-ibays-2.2.0_mod/root/etc/e-smith/events/actions/ibay-modify 2011-10-26 13:36:03.000000000 +0200
4     @@ -133,7 +133,7 @@
5     system("/usr/sbin/cpu", "-C/etc/cpu-system.conf", "usermod", "-L", $ibayName) == 0
6     or ( $x = $ldapauth ne 'enabled' ? $x : 255, warn "Error locking (ldap) account $ibayName" );
7     }
8     -elsif ($event eq 'ibay-modify')
9     +elsif ($event eq 'ibay-modify' and $ibayName ne 'Primary')
10     {
11     #------------------------------------------------------------
12     # Modify ibay description in /etc/passwd using "usermod"

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