/[smeserver]/rpms/e-smith-samba/sme9/e-smith-samba-2.4.0-40MachineUid.patch
ViewVC logotype

Contents of /rpms/e-smith-samba/sme9/e-smith-samba-2.4.0-40MachineUid.patch

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


Revision 1.1 - (show annotations) (download)
Sat May 25 04:36:30 2013 UTC (11 years, 6 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-samba-2_4_0-17_el6_sme, e-smith-samba-2_4_0-24_el6_sme, e-smith-samba-2_4_0-14_el6_sme, e-smith-samba-2_4_0-15_el6_sme, e-smith-samba-2_4_0-20_el6_sme, e-smith-samba-2_4_0-8_el6_sme, e-smith-samba-2_4_0-13_el6_sme, e-smith-samba-2_4_0-11_el6_sme, e-smith-samba-2_4_0-16_el6_sme, e-smith-samba-2_4_0-22_el6_sme, e-smith-samba-2_4_0-21_el6_sme, e-smith-samba-2_4_0-12_el6_sme, e-smith-samba-2_4_0-9_el6_sme, e-smith-samba-2_4_0-18_el6_sme, e-smith-samba-2_4_0-27_el6_sme, e-smith-samba-2_4_0-19_el6_sme, e-smith-samba-2_4_0-10_el6_sme, e-smith-samba-2_4_0-26_el6_sme, e-smith-samba-2_4_0-23_el6_sme, e-smith-samba-2_4_0-25_el6_sme, HEAD
* Fri May 24 2013 Ian Wells <esmith@wellsi.com> 2.4.0-8.sme
- Remove 40MachineUID as not needed after e-smith-samba-2.2.0-38 [SME: 7608]

1 diff -ruN e-smith-samba-2.4.0.old/root/etc/e-smith/db/accounts/migrate/40MachineUid e-smith-samba-2.4.0/root/etc/e-smith/db/accounts/migrate/40MachineUid
2 --- e-smith-samba-2.4.0.old/root/etc/e-smith/db/accounts/migrate/40MachineUid 2013-01-31 13:31:40.000000000 -0800
3 +++ e-smith-samba-2.4.0/root/etc/e-smith/db/accounts/migrate/40MachineUid 1969-12-31 16:00:00.000000000 -0800
4 @@ -1,14 +0,0 @@
5 -{
6 - foreach my $machine ($DB->get_all_by_prop(type => 'machine'))
7 - {
8 - next if defined $machine->prop('Uid');
9 -
10 - my ($uid, $gid) = (getpwnam($machine->key))[2,3];
11 -
12 - next unless defined $uid;
13 - $machine->set_prop('Uid', $uid);
14 -
15 - next unless $gid != $uid;
16 - $machine->set_prop('Gid', $gid);
17 - }
18 -}

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