diff options
author | Andreas Schneider <asn@samba.org> | 2018-11-05 11:56:21 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-11-12 09:50:25 +0100 |
commit | f49b62b44dd5dceb537a5364b1ff107db9a7aea4 (patch) | |
tree | 533b966b492a4f3e099d3ff45e3ac1990a04df32 /source3/winbindd | |
parent | ec87ca8bdc14a1ac0895f4333a2b00ef866edd66 (diff) | |
download | samba-f49b62b44dd5dceb537a5364b1ff107db9a7aea4.tar.gz |
s3:winbind: Log client process name for PAM auth
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_pam_auth.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_pam_auth.c b/source3/winbindd/winbindd_pam_auth.c index f91879e1c17..e3c18f9525c 100644 --- a/source3/winbindd/winbindd_pam_auth.c +++ b/source3/winbindd/winbindd_pam_auth.c @@ -52,8 +52,10 @@ struct tevent_req *winbindd_pam_auth_send(TALLOC_CTX *mem_ctx, request->data.auth.user[sizeof(request->data.auth.user)-1] = '\0'; request->data.auth.pass[sizeof(request->data.auth.pass)-1] = '\0'; - DEBUG(3, ("[%5lu]: pam auth %s\n", (unsigned long)cli->pid, - request->data.auth.user)); + DBG_NOTICE("[%s (%u)]: pam auth %s\n", + cli->client_name, + (unsigned int)cli->pid, + request->data.auth.user); if (!check_request_flags(request->flags)) { tevent_req_nterror(req, NT_STATUS_INVALID_PARAMETER_MIX); |