diff --git a/root/etc/e-smith/events/actions/update-domain-group-maps b/root/etc/e-smith/events/actions/update-domain-group-maps index 32a438e..89b6ac5 100644 --- a/root/etc/e-smith/events/actions/update-domain-group-maps +++ b/root/etc/e-smith/events/actions/update-domain-group-maps @@ -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; diff --git a/smeserver-samba.spec b/smeserver-samba.spec index 0b81507..34ed76f 100644 --- a/smeserver-samba.spec +++ b/smeserver-samba.spec @@ -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 11.0.0-4.sme +- fix regex to get SID [SME: 12581] + * Thu Apr 04 2024 Brian Read 11.0.0-3.sme - Update createlinks to create smeserver-package-update event[SME: 12579]