auth: For NTLM and KDC authentication, log the authentication duration
[samba.git] / source4 / auth / ntlm / auth_simple.c
index 273e48861250adc96c7d583f73bdb4bf35fd936a..fcd9050979d0c015b7226b797e427db35266cb3d 100644 (file)
@@ -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);
        }