remains of winbind are being removed from the main package.
also stop the winbind service in the "%preun common" script.
Michael
%preun
if [ $1 = 0 ] ; then
/sbin/chkconfig --del smb
- /sbin/chkconfig --del winbind
# rm -rf /var/log/samba/* /var/lib/samba/*
/sbin/service smb stop >/dev/null 2>&1
fi
%post common
/sbin/ldconfig
+%preun common
+if [ $1 = 0 ] ; then
+ /sbin/service winbind stop >/dev/null 2>&1
+ /sbin/chkconfig --del winbind
+fi
+exit 0
+
%postun common
/sbin/ldconfig