auth: For NTLM and KDC authentication, log the authentication duration
[samba.git] / source3 / include / auth.h
index 31a1f2018359bc39196ba04b1f5e626a3f7ae4ad..0facb8668cd37f5167689acd55230292985ac73d 100644 (file)
@@ -84,6 +84,9 @@ typedef NTSTATUS (*make_auth4_context_fn)(const struct auth_context *auth_contex
 struct auth_context {
        DATA_BLOB challenge; 
 
+       /* What time did this start */
+       struct timeval start_time;
+
        /* Who set this up in the first place? */ 
        const char *challenge_set_by;