s4:kdc: hdb_samba4_audit() is only called once per request
authorStefan Metzmacher <metze@samba.org>
Tue, 1 Mar 2022 21:10:08 +0000 (10:10 +1300)
committerJoseph Sutton <jsutton@samba.org>
Tue, 1 Mar 2022 23:28:22 +0000 (23:28 +0000)
commit791be84c3eecb95e03611458e2305bae272ba267
tree3f468301b9d08d16b2ba195c2614dd9053103496
parentc9b0b4bfc4e2e0b08b21f39bf56fd5395d66d66f
s4:kdc: hdb_samba4_audit() is only called once per request

So we need to restructure the logic a bit.

NOTE: This commit finally works again!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Joseph Sutton <jsutton@samba.org>
Autobuild-Date(master): Tue Mar  1 23:28:22 UTC 2022 on sn-devel-184
source4/kdc/hdb-samba4.c