[packages/samba] - rel 3; set unix nobody group mapping

arekm arekm at pld-linux.org
Sun Nov 18 22:12:25 CET 2018


commit 8029aa526796b062decb92a4b875f05b52b80e4e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Nov 18 22:11:49 2018 +0100

    - rel 3; set unix nobody group mapping

 samba.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/samba.spec b/samba.spec
index 70a7539..72b8752 100644
--- a/samba.spec
+++ b/samba.spec
@@ -39,7 +39,7 @@ Summary:	Samba Active Directory and SMB server
 Summary(pl.UTF-8):	Serwer Samba Active Directory i SMB
 Name:		samba
 Version:	4.9.2
-Release:	2
+Release:	3
 Epoch:		1
 License:	GPL v3
 Group:		Networking/Daemons
@@ -739,6 +739,9 @@ fi
 %service samba restart "Samba AD daemons"
 %systemd_post samba.service
 
+%triggerpostun -- samba < 1:4.9.2-3
+%{_bindir}/net groupmap add sid=S-1-5-32-546 unixgroup=nobody type=builtin || :
+
 %triggerpostun -- samba4 < 1:4.1.1-1
 # CVE-2013-4476
 [ -e %{_sysconfdir}/samba/tls/key.pem ] || exit 0
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/samba.git/commitdiff/8029aa526796b062decb92a4b875f05b52b80e4e



More information about the pld-cvs-commit mailing list