summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_dual.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-10-10 10:02:27 +0200
committerVolker Lendecke <vl@samba.org>2013-10-11 11:50:08 +0200
commitfc5941622010843d823b5c245eccc68d1d3bce19 (patch)
tree7834251071f671ca3b7695422d1d46a915eb4182 /source3/winbindd/winbindd_dual.c
parent447ec17a6bec814a2ac5cadb74dbef5789f07c52 (diff)
downloadsamba-fc5941622010843d823b5c245eccc68d1d3bce19.tar.gz
samba-fc5941622010843d823b5c245eccc68d1d3bce19.tar.bz2
samba-fc5941622010843d823b5c245eccc68d1d3bce19.zip
s3-winbind: Register handlers for domain online/offline messages.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10194 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_dual.c')
-rw-r--r--source3/winbindd/winbindd_dual.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c
index 34896d57fa..972924ccbe 100644
--- a/source3/winbindd/winbindd_dual.c
+++ b/source3/winbindd/winbindd_dual.c
@@ -1241,6 +1241,11 @@ NTSTATUS winbindd_reinit_after_fork(const struct winbindd_child *myself,
messaging_deregister(winbind_messaging_context(),
MSG_DEBUG, NULL);
+ messaging_deregister(winbind_messaging_context(),
+ MSG_WINBIND_DOMAIN_OFFLINE, NULL);
+ messaging_deregister(winbind_messaging_context(),
+ MSG_WINBIND_DOMAIN_ONLINE, NULL);
+
/* We have destroyed all events in the winbindd_event_context
* in reinit_after_fork(), so clean out all possible pending
* event pointers. */