kdc: rename windc to kdc plugin

Rename the "windc" plugin API to the more general "kdc" plugin API, for two
reasons: the Heimdal KDC uses the Windows PAC even when not emulating a domain
controller, and the plugin API has accreted methods that are not specific to
emulating a domain controller (such as referral_policy and finalize_reply).
This commit is contained in:
Luke Howard
2022-01-03 11:10:18 +11:00
parent a4c6b81ce9
commit fcff5933ad
13 changed files with 90 additions and 90 deletions

View File

@@ -343,7 +343,7 @@ _kdc_include_pac_p(astgs_request_t r)
}
/*
* Notify the HDB backend and windc plugin of the audited event.
* Notify the HDB backend and KDC plugin of the audited event.
*/
krb5_error_code
@@ -352,7 +352,7 @@ _kdc_audit_request(astgs_request_t r)
krb5_error_code ret;
struct HDB *hdb;
ret = _kdc_windc_audit(r);
ret = _kdc_plugin_audit(r);
if (ret == 0 &&
(hdb = r->clientdb ? r->clientdb : r->config->db[0]) &&
hdb->hdb_audit)