From: Jeremy Allison Date: Mon, 4 Jun 2007 23:51:19 +0000 (+0000) Subject: r23348: Fix connection reporting on SIGUSR2 (noticed by X-Git-Tag: samba-4.0.0alpha6~801^2~5693 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cff8d01a41b4b26c25d88b77e7c3716ec49656ce;p=thirdparty%2Fsamba.git r23348: Fix connection reporting on SIGUSR2 (noticed by Herb). Jeremy. (This used to be commit dcb617e550c98de8a4bdcb9b1f7f78ba008fc138) --- diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c index 86e45285712..94a4b7f115c 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++) {