/[smeserver]/rpms/e-smith-samba/sme8/e-smith-samba-2.2.0-better-ldap.patch
ViewVC logotype

Diff of /rpms/e-smith-samba/sme8/e-smith-samba-2.2.0-better-ldap.patch

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

Revision 1.1 by slords, Tue Nov 2 19:49:18 2010 UTC Revision 1.2 by slords, Wed Nov 3 14:01:03 2010 UTC
# Line 61  diff -up e-smith-samba-2.2.0/root/etc/e- Line 61  diff -up e-smith-samba-2.2.0/root/etc/e-
61  +        "-d", "/noexistingpath",  +        "-d", "/noexistingpath",
62  +        "-s", "/bin/false",  +        "-s", "/bin/false",
63  +        "$machineName"  +        "$machineName"
64  +    ) == 0 or ( $x = 255, warn "Failed to create (ldap) account $machineName.\n" );  +    ) == 0 or ( $x = $ldapauth ne 'enabled ? $x : 255, warn "Failed to create (ldap) account $machineName.\n" );
65  +  +
66  +system("/usr/sbin/cpu", "-C/etc/cpu-system.conf", "usermod",  +system("/usr/sbin/cpu", "-C/etc/cpu-system.conf", "usermod",
67  +       "--userbase=ou=Computers,$base",  +       "--userbase=ou=Computers,$base",
68  +       "-o",  +       "-o",
69  +       "-L",  +       "-L",
70  +       "$machineName"  +       "$machineName"
71  +) == 0 or ( $x = 255, warn "Failed locking (ldap) password for $machineName\n" );  +) == 0 or ( $x = $ldapauth ne 'enabled ? $x : 255, warn "Failed locking (ldap) password for $machineName\n" );
72  +  +
73  +warn "create-machine-account $machineName: Locking account\n";  +warn "create-machine-account $machineName: Locking account\n";
74  +  +


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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