* 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:
parent
9056e4d829
commit
ec07440aac
@ -19,7 +19,7 @@ my $ldapauth = $c->get('ldap')->prop('Authentication') || 'disabled';
|
|||||||
my $pw = esmith::util::LdapPassword();
|
my $pw = esmith::util::LdapPassword();
|
||||||
|
|
||||||
my $g = `/usr/bin/net getlocalsid`;
|
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.";
|
warn "Unable to determine SID. Clearning cache to see if it helps.";
|
||||||
rename '/etc/samba/secrets.tdb','/etc/samba/secrets.'.time;
|
rename '/etc/samba/secrets.tdb','/etc/samba/secrets.'.time;
|
||||||
rename '/var/cache/samba/gencache.tdb','/var/cache/samba/gencache.'.time;
|
rename '/var/cache/samba/gencache.tdb','/var/cache/samba/gencache.'.time;
|
||||||
|
@ -4,7 +4,7 @@ Summary: smeserver specific Samba configuration files and templates
|
|||||||
%define name smeserver-samba
|
%define name smeserver-samba
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
%define version 11.0.0
|
%define version 11.0.0
|
||||||
%define release 3
|
%define release 4
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}%{?dist}
|
Release: %{release}%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
@ -41,6 +41,9 @@ Requires: /usr/bin/tdbbackup
|
|||||||
AutoReqProv: no
|
AutoReqProv: no
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Apr 04 2024 Brian Read <brianr@koozali.org> 11.0.0-3.sme
|
||||||
- Update createlinks to create smeserver-package-update event[SME: 12579]
|
- Update createlinks to create smeserver-package-update event[SME: 12579]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user