summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-06-04 23:51:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:08 -0500
commitcff8d01a41b4b26c25d88b77e7c3716ec49656ce (patch)
treeb9b7766938626034f994f0bdab6dcbb050259b51 /source3
parent902daae1c706e493b5c433dc729c6fd581613c91 (diff)
downloadsamba-cff8d01a41b4b26c25d88b77e7c3716ec49656ce.tar.gz
samba-cff8d01a41b4b26c25d88b77e7c3716ec49656ce.tar.bz2
samba-cff8d01a41b4b26c25d88b77e7c3716ec49656ce.zip
r23348: Fix connection reporting on SIGUSR2 (noticed by
Herb). Jeremy. (This used to be commit dcb617e550c98de8a4bdcb9b1f7f78ba008fc138)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index 86e4528571..94a4b7f115 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/nsswitch/winbindd.c
@@ -315,6 +315,9 @@ static void process_request(struct winbindd_cli_state *state)
if (state->mem_ctx == NULL)
return;
+ /* Remember who asked us. */
+ state->pid = state->request.pid;
+
/* Process command */
for (table = dispatch_table; table->fn; table++) {