* 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:
Jean-Philippe Pialasse 2024-04-13 00:42:50 -04:00
parent 9056e4d829
commit ec07440aac
2 changed files with 5 additions and 2 deletions

View File

@ -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;

View File

@ -4,7 +4,7 @@ Summary: smeserver specific Samba configuration files and templates
%define name smeserver-samba
Name: %{name}
%define version 11.0.0
%define release 3
%define release 4
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@ -41,6 +41,9 @@ Requires: /usr/bin/tdbbackup
AutoReqProv: no
%changelog
* Sat Apr 13 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-4.sme
- fix regex to get SID [SME: 12581]
* Thu Apr 04 2024 Brian Read <brianr@koozali.org> 11.0.0-3.sme
- Update createlinks to create smeserver-package-update event[SME: 12579]