From: Stefan Metzmacher Date: Mon, 29 Dec 2008 15:31:57 +0000 (+0100) Subject: s3:winbindd: we don't need to call messaging_reinit() twice X-Git-Tag: samba-3.3.0~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14dc9c4c6c6b5ac8c8a9ee57c37f58964393669e;p=thirdparty%2Fsamba.git 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) --- 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);