diff options
-rw-r--r-- | source3/winbindd/winbindd_dual.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index ed8eb1339f..47348b997f 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/winbindd/winbindd_dual.c @@ -1129,9 +1129,11 @@ bool winbindd_reinit_after_fork(const char *logfilename) struct winbindd_child *cl; NTSTATUS status; - status = reinit_after_fork(winbind_messaging_context(), - winbind_event_context(), - procid_self(), true); + status = reinit_after_fork( + winbind_messaging_context(), + winbind_event_context(), + messaging_server_id(winbind_messaging_context()), + true); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("reinit_after_fork() failed\n")); return false; |