s4:kdc: Do not panic if authsam_logon_success_accounting() fails
commit6b580f73688bd6517789d1e8663042b0e310e848
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Sun, 13 Aug 2023 22:50:37 +0000 (14 10:50 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 21 Aug 2023 23:37:29 +0000 (21 23:37 +0000)
tree0b2bb7bede1e941ed242a6cabb4c673111905133
parent448cc122a8f484377a37460f804cbe834b8ff70b
s4:kdc: Do not panic if authsam_logon_success_accounting() fails

In hdb_samba4_audit(), ERR_GENERIC signals an unexpected situation — if
we encounter that error code while running under selftest, we’ll panic.
In response to an expected event such as the failure of
authsam_logon_success_accounting(), it’s more appropriate to continue to
run.

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