r23348: Fix connection reporting on SIGUSR2 (noticed by
authorJeremy Allison <jra@samba.org>
Mon, 4 Jun 2007 23:51:19 +0000 (23:51 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:08 +0000 (12:23 -0500)
Herb).
Jeremy.

source/nsswitch/winbindd.c

index 86e4528571226c4321ef60c5f64dfbb78666158a..94a4b7f115c5dd954db637ae044d46707b00cc14 100644 (file)
@@ -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++) {