From 7f0e6df88345c1154f19fd263966ad20c73f5d52 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 4 Jul 2010 16:28:13 +0200 Subject: s3: Pass the new server_id through reinit_after_fork --- source3/winbindd/winbindd_dual.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source3/winbindd/winbindd_dual.c') diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index 2ae32e793c..e506d2a53a 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/winbindd/winbindd_dual.c @@ -1106,10 +1106,12 @@ bool winbindd_reinit_after_fork(const char *logfilename) { struct winbindd_domain *domain; struct winbindd_child *cl; + NTSTATUS status; - if (!NT_STATUS_IS_OK(reinit_after_fork(winbind_messaging_context(), - winbind_event_context(), - true))) { + status = reinit_after_fork(winbind_messaging_context(), + winbind_event_context(), + procid_self(), true); + if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("reinit_after_fork() failed\n")); return false; } -- cgit