kdc: add audit plugin API to windc API

Allow the windc plugin to also implement an audit callback. As part of this
change, both the HDB and windc audit function signatures are changed to return
void.
This commit is contained in:
Luke Howard
2022-01-02 21:19:43 +11:00
parent 98070b5eaa
commit a4c6b81ce9
6 changed files with 87 additions and 41 deletions

View File

@@ -2578,7 +2578,7 @@ _kdc_tgs_rep(astgs_request_t r)
out:
r->ret = ret;
_kdc_hdb_audit(r);
_kdc_audit_request(r);
if(ret && ret != HDB_ERR_NOT_FOUND_HERE && data->data == NULL){
METHOD_DATA error_method = { 0, NULL };