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-misc-tags/initial-v3-0-unstable~268 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dcb617e550c98de8a4bdcb9b1f7f78ba008fc138;p=thirdparty%2Fsamba.git r23348: Fix connection reporting on SIGUSR2 (noticed by Herb). Jeremy. --- diff --git a/source/nsswitch/winbindd.c b/source/nsswitch/winbindd.c index 86e45285712..94a4b7f115c 100644 --- a/source/nsswitch/winbindd.c +++ b/source/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++) {