1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

s3:winbindd: we don't need to call messaging_reinit() twice

reinit_after_fork() already calls messaging_reinit()

metze
This commit is contained in:
Stefan Metzmacher 2008-12-29 16:31:57 +01:00
parent 99ab198752
commit 429276556a

View File

@ -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);