kdc: refactor Samba-specific auditing API in terms of existing API

Make Samba-specific HDB auth status API a wrapper on the existing auditing API,
with a view towards unifying the two APIs in a future commit.

The term "auth status" is replaced with "auth event", and the HDB auth_status
method is replaced with a more general purpose audit method which has access to
the entire request structure.
This commit is contained in:
Luke Howard
2021-12-31 17:24:58 +11:00
parent 32032dec7e
commit b1dcc1a474
8 changed files with 291 additions and 230 deletions

View File

@@ -70,7 +70,8 @@
const char *e_text; \
char *e_text_buf; \
heim_string_t reason; \
heim_array_t kv; \
/* auditing key/value store */ \
heim_dict_t kv; \
int32_t ret
#endif /* HEIMBASE_SVC_H */