git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
auth: For NTLM and KDC authentication, log the authentication duration
[samba.git]
/
source4
/
auth
/
ntlm
/
auth_simple.c
diff --git
a/source4/auth/ntlm/auth_simple.c
b/source4/auth/ntlm/auth_simple.c
index 273e48861250adc96c7d583f73bdb4bf35fd936a..fcd9050979d0c015b7226b797e427db35266cb3d 100644
(file)
--- a/
source4/auth/ntlm/auth_simple.c
+++ b/
source4/auth/ntlm/auth_simple.c
@@
-112,6
+112,7
@@
_PUBLIC_ struct tevent_req *authenticate_ldap_simple_bind_send(TALLOC_CTX *mem_c
dn, &nt4_domain, &nt4_username);
if (!NT_STATUS_IS_OK(status)) {
log_authentication_event(msg, lp_ctx,
+ &state->auth_context->start_time,
user_info, status,
NULL, NULL, NULL, NULL);
}