/[smeserver]/rpms/e-smith-samba/sme8/e-smith-samba-2.2.0-enable-cpu.patch
ViewVC logotype

Diff of /rpms/e-smith-samba/sme8/e-smith-samba-2.2.0-enable-cpu.patch

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

Revision 1.2 by slords, Tue Nov 2 17:00:20 2010 UTC Revision 1.3 by vip-ire, Tue Nov 2 19:09:27 2010 UTC
# Line 29  diff -up e-smith-samba-2.2.0/root/etc/e- Line 29  diff -up e-smith-samba-2.2.0/root/etc/e-
29  +{  +{
30  +    system(  +    system(
31  +            "/usr/sbin/cpu", "-C/etc/cpu-system.conf", "useradd",  +            "/usr/sbin/cpu", "-C/etc/cpu-system.conf", "useradd",
32  +            "--usebase=ou=Computers,$base",  +            "--userbase=ou=Computers,$base",
33  +            "-c", "Hostname account for $machineName",  +            "-c", "Hostname account for $machineName",
34  +            "-o",  +            "-o",
35  +            "-d", "/noexistingpath",  +            "-d", "/noexistingpath",
# Line 40  diff -up e-smith-samba-2.2.0/root/etc/e- Line 40  diff -up e-smith-samba-2.2.0/root/etc/e-
40  +    warn "create-machine-account $machineName: Locking account\n";  +    warn "create-machine-account $machineName: Locking account\n";
41  +  +
42  +    system("/usr/sbin/cpu", "-C/etc/cpu-system.conf", "usermod",  +    system("/usr/sbin/cpu", "-C/etc/cpu-system.conf", "usermod",
43  +           "--usebase=ou=Computers,$base",  +           "--userbase=ou=Computers,$base",
44  +           "-o",  +           "-o",
45  +           "-L",  +           "-L",
46  +           "$machineName"  +           "$machineName"


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