From 429276556a4930fa1bc782904447120950073190 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 29 Dec 2008 16:31:57 +0100 Subject: s3:winbindd: we don't need to call messaging_reinit() twice reinit_after_fork() already calls messaging_reinit() metze --- source3/winbindd/winbindd_dual.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source3/winbindd/winbindd_dual.c') 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); -- cgit