summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-29 16:31:57 +0100
committerStefan Metzmacher <metze@samba.org>2008-12-31 11:01:46 +0100
commit429276556a4930fa1bc782904447120950073190 (patch)
tree66dc73baee4821d032153ed49bbe97e5d6c5f434 /source3
parent99ab198752d6cac421f42c87ddf2b3205018bf84 (diff)
downloadsamba-429276556a4930fa1bc782904447120950073190.tar.gz
samba-429276556a4930fa1bc782904447120950073190.tar.bz2
samba-429276556a4930fa1bc782904447120950073190.zip
s3:winbindd: we don't need to call messaging_reinit() twice
reinit_after_fork() already calls messaging_reinit() metze
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_dual.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c
index 9153585c26..4f1e92ed7c 100644
--- a/source3/winbindd/winbindd_dual.c
+++ b/source3/winbindd/winbindd_dual.c
@@ -1189,13 +1189,6 @@ static bool fork_domain_child(struct winbindd_child *child)
reopen_logs();
}
- /*
- * For clustering, we need to re-init our ctdbd connection after the
- * fork
- */
- if (!NT_STATUS_IS_OK(messaging_reinit(winbind_messaging_context())))
- exit(1);
-
/* Don't handle the same messages as our parent. */
messaging_deregister(winbind_messaging_context(),
MSG_SMB_CONF_UPDATED, NULL);