summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_cm.c
diff options
context:
space:
mode:
authorBo Yang <boyang@novell.com>2009-01-05 19:47:45 +0800
committerStefan Metzmacher <metze@samba.org>2009-01-05 15:07:31 +0100
commit022e2f81991f12637ca0eeb3a030d4cec69d6fb9 (patch)
tree47f153de1292b5b75d602f0a21428eb75510cac5 /source3/winbindd/winbindd_cm.c
parent73875cd344608b591fa884ab99b5f3a10550c149 (diff)
downloadsamba-022e2f81991f12637ca0eeb3a030d4cec69d6fb9.tar.gz
samba-022e2f81991f12637ca0eeb3a030d4cec69d6fb9.tar.bz2
samba-022e2f81991f12637ca0eeb3a030d4cec69d6fb9.zip
clean event context after child is forked.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_cm.c')
-rw-r--r--source3/winbindd/winbindd_cm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 3135b6a2a3..14890683bc 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -212,7 +212,8 @@ static bool fork_child_dc_connect(struct winbindd_domain *domain)
/* Leave messages blocked - we will never process one. */
- if (!reinit_after_fork(winbind_messaging_context(), true)) {
+ if (!reinit_after_fork(winbind_messaging_context(),
+ winbind_event_context(), true)) {
DEBUG(0,("reinit_after_fork() failed\n"));
messaging_send_buf(winbind_messaging_context(),
pid_to_procid(parent_pid),