summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/RHEL-CTDB/samba.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/RHEL-CTDB/samba.spec b/packaging/RHEL-CTDB/samba.spec
index 189821da49..e76dce8e16 100644
--- a/packaging/RHEL-CTDB/samba.spec
+++ b/packaging/RHEL-CTDB/samba.spec
@@ -360,6 +360,10 @@ fi
%post common
/sbin/ldconfig
+if [ "$1" -ge "1" ]; then
+ /sbin/service winbind condrestart >/dev/null 2>&1 || :
+fi
+
%preun common
if [ $1 = 0 ] ; then
/sbin/service winbind stop >/dev/null 2>&1 || :