/[smeserver]/rpms/e-smith-samba/sme7/e-smith-samba-1.14.0-net_full_path.patch
ViewVC logotype

Annotation of /rpms/e-smith-samba/sme7/e-smith-samba-1.14.0-net_full_path.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 16:12:58 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-1_14_0-30_el4_sme, e-smith-samba-1_14_0-35_el4_sme, e-smith-samba-1_14_0-36_el4_sme, e-smith-samba-1_14_0-33_el4_sme, e-smith-samba-1_14_0-34_el4_sme, e-smith-samba-1_14_0-31_el4_sme, e-smith-samba-1_14_0-32_el4_sme, e-smith-samba-1_14_0-29_el4_sme
Import on branch sme7 of package e-smith-samba-1.14.0-29.el4.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 2007-01-30 09:58:07.000000000 -0500
3     +++ mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/events/actions/update-domain-group-maps 2007-01-30 09:57:46.000000000 -0500
4     @@ -12,13 +12,13 @@
5    
6     my $a = esmith::AccountsDB->open_ro or die "Couldn't open accounts db\n";
7    
8     -my $g = `net getlocalsid`;
9     +my $g = `/usr/bin/net getlocalsid`;
10     unless ($g =~ /SID.*is: (.+)/) {
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 = `/usr/bin/net getlocalsid`;
17     $g =~ /SID.*is: (.+)/ or die "Could not get current sid\n";
18     }
19     my $local_sid = $1;

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