summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_dual.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-30 16:27:42 +0200
committerVolker Lendecke <vl@samba.org>2010-09-30 14:29:56 +0200
commit10f0c785c70b89e76f3a9cd3b319262affc9447e (patch)
treea0572ad45bde3b76e7c9b10c73257469dea6440d /source3/winbindd/winbindd_dual.c
parentc7c4d84550c7feafb1de83e3b0dcc11c3fa220df (diff)
downloadsamba-10f0c785c70b89e76f3a9cd3b319262affc9447e.tar.gz
samba-10f0c785c70b89e76f3a9cd3b319262affc9447e.tar.bz2
samba-10f0c785c70b89e76f3a9cd3b319262affc9447e.zip
s3: Re-introduce a procid_self()
Giving the parent pid to reinit_after_fork is not a good idea.... None of the other callers do this, checked it.
Diffstat (limited to 'source3/winbindd/winbindd_dual.c')
-rw-r--r--source3/winbindd/winbindd_dual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c
index 4cec7c2a1a..931ec6787a 100644
--- a/source3/winbindd/winbindd_dual.c
+++ b/source3/winbindd/winbindd_dual.c
@@ -1133,7 +1133,7 @@ bool winbindd_reinit_after_fork(const char *logfilename)
status = reinit_after_fork(
winbind_messaging_context(),
winbind_event_context(),
- messaging_server_id(winbind_messaging_context()),
+ procid_self(),
true);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,("reinit_after_fork() failed\n"));