1 |
jpp |
1.1 |
diff -Nur --no-dereference e-smith-samba-2.6.0.old/root/etc/e-smith/events/actions/update-domain-group-maps e-smith-samba-2.6.0/root/etc/e-smith/events/actions/update-domain-group-maps |
2 |
|
|
--- e-smith-samba-2.6.0.old/root/etc/e-smith/events/actions/update-domain-group-maps 2013-01-31 16:31:40.000000000 -0500 |
3 |
|
|
+++ e-smith-samba-2.6.0/root/etc/e-smith/events/actions/update-domain-group-maps 2024-04-13 00:44:53.121000000 -0400 |
4 |
|
|
@@ -19,7 +19,7 @@ |
5 |
|
|
my $pw = esmith::util::LdapPassword(); |
6 |
|
|
|
7 |
|
|
my $g = `/usr/bin/net getlocalsid`; |
8 |
|
|
-unless ($g =~ /SID.*is: (.+)/) { |
9 |
|
|
+unless ($g =~ /SID.*: (.+)/) { |
10 |
|
|
warn "Unable to determine SID. Clearning cache to see if it helps."; |
11 |
|
|
rename '/etc/samba/secrets.tdb','/etc/samba/secrets.'.time; |
12 |
|
|
rename '/var/cache/samba/gencache.tdb','/var/cache/samba/gencache.'.time; |