summaryrefslogtreecommitdiffstats
path: root/source/winbindd/winbindd_dual.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-29 16:31:57 +0100
committerKarolin Seeger <kseeger@samba.org>2009-01-02 12:44:28 +0100
commit14dc9c4c6c6b5ac8c8a9ee57c37f58964393669e (patch)
tree8b2aff718951d2273ffb177d0ce016ab4a1a9291 /source/winbindd/winbindd_dual.c
parent076e0b01f99f147a3b30233bf50986157b84c979 (diff)
downloadsamba-14dc9c4c6c6b5ac8c8a9ee57c37f58964393669e.tar.gz
samba-14dc9c4c6c6b5ac8c8a9ee57c37f58964393669e.tar.xz
samba-14dc9c4c6c6b5ac8c8a9ee57c37f58964393669e.zip
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)
Diffstat (limited to 'source/winbindd/winbindd_dual.c')
-rw-r--r--source/winbindd/winbindd_dual.c7
1 files changed, 0 insertions, 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);