/[smeserver]/rpms/e-smith-samba/sme10/e-smith-samba-2.6.0-bz12462.patch
ViewVC logotype

Contents of /rpms/e-smith-samba/sme10/e-smith-samba-2.6.0-bz12462.patch

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


Revision 1.1 - (show annotations) (download)
Sat Apr 13 04:55:50 2024 UTC (7 months, 1 week ago) by jpp
Branch: MAIN
CVS Tags: e-smith-samba-2_6_0-28_el7_sme, HEAD
* Sat Apr 13 2024 Jean-Philippe Pialasse <jpp@koozali.org> 2.6.0-28.sme
- fix regex for SID [SME: 12462]

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;

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