summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-17 23:16:26 +0200
committerVolker Lendecke <vl@samba.org>2010-07-18 21:22:41 +0200
commit7ac58281aeebe4be282ca719ba1da2f821e521a5 (patch)
tree99cb5f5aab22791e1c177ab1bf5c7cba38bc9a44 /source3/winbindd
parent898fd584a4f96ba40c2692550518856671892add (diff)
downloadsamba-7ac58281aeebe4be282ca719ba1da2f821e521a5.tar.gz
samba-7ac58281aeebe4be282ca719ba1da2f821e521a5.tar.bz2
samba-7ac58281aeebe4be282ca719ba1da2f821e521a5.zip
s3: Remove a direct use of procid_self()
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_dual.c8
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;