From 14dc9c4c6c6b5ac8c8a9ee57c37f58964393669e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 29 Dec 2008 16:31:57 +0100 Subject: [PATCH] s3:winbindd: we don't need to call messaging_reinit() twice reinit_after_fork() already calls messaging_reinit() metze (cherry picked from commit 429276556a4930fa1bc782904447120950073190) (cherry picked from commit 6bd2276d426bb92e2fc195ea69aeeb4aa7a574e7) --- source/winbindd/winbindd_dual.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source/winbindd/winbindd_dual.c b/source/winbindd/winbindd_dual.c index 4a166946bb5..d200cfcf6b6 100644 --- a/source/winbindd/winbindd_dual.c +++ b/source/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); -- 2.11.4.GIT