* Sat Apr 13 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-4.sme
- fix regex to get SID [SME: 12581]
This commit is contained in:
@@ -19,7 +19,7 @@ my $ldapauth = $c->get('ldap')->prop('Authentication') || 'disabled';
|
||||
my $pw = esmith::util::LdapPassword();
|
||||
|
||||
my $g = `/usr/bin/net getlocalsid`;
|
||||
unless ($g =~ /SID.*is: (.+)/) {
|
||||
unless ($g =~ /SID.*: (.+)/) {
|
||||
warn "Unable to determine SID. Clearning cache to see if it helps.";
|
||||
rename '/etc/samba/secrets.tdb','/etc/samba/secrets.'.time;
|
||||
rename '/var/cache/samba/gencache.tdb','/var/cache/samba/gencache.'.time;
|
||||
|
Reference in New Issue
Block a user