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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user