diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/winbindd.c | 3 |
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++) { |