TODO: auth: For NTLM and KDC authentication, log the authentication duration
authorAndrew Bartlett <abartlet@samba.org>
Wed, 5 Sep 2018 05:41:57 +0000 (17:41 +1200)
committerStefan Metzmacher <metze@samba.org>
Wed, 29 Apr 2020 09:07:57 +0000 (11:07 +0200)
commit11c470597a6c5845e9935ebae23f462d4cb74a83
tree30b03d7d42f78ef688c1b6aa81f6cf6f75af0fe7
parent028b7cc52718d332eae24cf82d11a3d4447a73f9
TODO: auth: For NTLM and KDC authentication, log the authentication duration

This is not a general purpose profiling solution, but these JSON logs are already being
generated and stored, so this is worth adding.

Some administrators are very keen to know how long authentication
takes, particularly due to long replication transactions in other
processes.

This complements a similar patch set to log the transaction duration.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
(Simlar to Samba commit 1bb2a1c6b3eaccf114ac3f3b5b51f57828a04996)
[metze@samba.org: improved for upstream heimdal]
Signed-off-by: Stefan Metzmacher <metze@samba.org>
kdc/kerberos5.c
lib/hdb/hdb.h