s4:kdc: Ensure that we don’t log PREAUTH_REQUIRED errors
commit19f867bc54e81ffd1b639f1b3651608c0460074c
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 19 Jun 2023 23:15:50 +0000 (20 11:15 +1200)
committerStefan Metzmacher <metze@samba.org>
Mon, 26 Jun 2023 11:10:31 +0000 (26 11:10 +0000)
treee080a801e0f6eddc35d9ed31d0ddcbabdb0f1de8
parent8425ffc8f3b87fb4fb88fdae24e3e3ced52643ab
s4:kdc: Ensure that we don’t log PREAUTH_REQUIRED errors

Such errors were not logged in the past, either, but that was accidental
— a result of failing too early for an authentication event to be set —
rather than the auditing being deliberately designed that way.

Now that we have added the KDC_AUTH_EVENT_CLIENT_FOUND event, we want to
ensure that PREAUTH_REQUIRED errors continue to go unlogged.

NOTE: THIS COMMIT WON’T COMPILE/WORK ON ITS OWN!

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/kdc/hdb-samba4.c