From 02cc5cb0471d49c22fb8f5f6db927a912207b7d9 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Apr 01 2011 19:38:04 +0000 Subject: Check for wbpriv group existence in samba-common resolves: #643362 Guenther --- diff --git a/samba.spec b/samba.spec index 3b112a5..13c2c9d 100644 --- a/samba.spec +++ b/samba.spec @@ -453,8 +453,10 @@ exit 0 #%postun -%pre winbind -/usr/sbin/groupadd -g 88 wbpriv >/dev/null 2>&1 || : +%pre common +if ! getent group wbpriv >/dev/null 2>&1 ; then + /usr/sbin/groupadd -g 88 wbpriv >/dev/null 2>&1 || : +fi %post winbind /sbin/chkconfig --add winbind @@ -672,6 +674,8 @@ exit 0 - resolves: #551631 - Fix root check in smb init script - resolves: #577533 +- Check for wbpriv group existence in samba-common +- resolves: #643362 * Tue Mar 22 2011 Guenther Deschner - 3.5.8-75 - Fix broken smb.conf.5 manpage