git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec87ca8
)
s3:winbind: Log client process name for PAM auth
author
Andreas Schneider
<asn@samba.org>
Mon, 5 Nov 2018 10:56:21 +0000
(11:56 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Mon, 12 Nov 2018 08:50:25 +0000
(09:50 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/winbindd_pam_auth.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_pam_auth.c
b/source3/winbindd/winbindd_pam_auth.c
index f91879e1c17c07934b65912f3c0d998a1d997a67..e3c18f9525c955da02bc6627b35bc46e0fdc81d0 100644
(file)
--- 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);