From cff8d01a41b4b26c25d88b77e7c3716ec49656ce Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 4 Jun 2007 23:51:19 +0000 Subject: r23348: Fix connection reporting on SIGUSR2 (noticed by Herb). Jeremy. (This used to be commit dcb617e550c98de8a4bdcb9b1f7f78ba008fc138) --- source3/nsswitch/winbindd.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/nsswitch/winbindd.c') 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++) { -- cgit