From 0bebe3cec662215098cd3eac2b2c8ab95aa5cb8c Mon Sep 17 00:00:00 2001 From: ssorce Date: Tue, 13 Mar 2007 13:21:59 +0000 Subject: [PATCH] wbpriv must be created in samba-common as there we create the winbindd_privileged directory --- samba.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/samba.spec b/samba.spec index 5b4c216..a01b381 100644 --- a/samba.spec +++ b/samba.spec @@ -324,9 +324,9 @@ rm -f $RPM_BUILD_ROOT%{_sbindir}/{u,}mount.cifs rm -rf $RPM_BUILD_ROOT %pre -/usr/sbin/groupadd -g 88 wbpriv || true %post + %preun if [ $1 = 0 ] ; then /sbin/chkconfig --del smb @@ -341,6 +341,9 @@ if [ "$1" -ge "1" ]; then fi exit 0 +%pre common +/usr/sbin/groupadd -g 88 wbpriv || true + %post common /sbin/chkconfig --add winbind /sbin/ldconfig