/[smeserver]/rpms/e-smith-samba/sme8/e-smith-samba-1.14.0-getlocalsid.patch2
ViewVC logotype

Annotation of /rpms/e-smith-samba/sme8/e-smith-samba-1.14.0-getlocalsid.patch2

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


Revision 1.2 - (hide annotations) (download)
Sat Dec 15 16:03:54 2007 UTC (16 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Import on branch sme8 of package e-smith-samba-1.14.1-1.el5.sme.src.rpm

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/etc/e-smith/events/actions/update-domain-group-maps mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/events/actions/update-domain-group-maps
2     --- e-smith-samba-1.14.0/root/etc/e-smith/events/actions/update-domain-group-maps 2006-12-07 09:12:27.000000000 -0700
3     +++ mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/events/actions/update-domain-group-maps 2006-12-07 09:01:36.000000000 -0700
4     @@ -14,9 +14,10 @@
5    
6     my $g = `net getlocalsid`;
7     unless ($g =~ /SID.*is: (.+)/) {
8     - unlink '/etc/samba/secrets.tdb';
9     - unlink '/var/cache/samba/gencache.tdb';
10     - unlink '/var/cache/samba/wins.dat';
11     + warn "Unable to determine SID. Clearning cache to see if it helps.";
12     + rename '/etc/samba/secrets.tdb','/etc/samba/secrets.'.time;
13     + rename '/var/cache/samba/gencache.tdb','/var/cache/samba/gencache.'.time;
14     + rename '/var/cache/samba/wins.dat','/var/cache/samba/wins.'.time;
15     $g = `net getlocalsid`;
16     $g =~ /SID.*is: (.+)/ or die "Could not get current sid\n";
17     }

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