1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

s4:kdc: Adapt to use new combined windc interface in lorikeet-heimdal

This interface is as requested by Luke Howard towards possibly merging
this feature.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Andrew Bartlett 2021-12-02 11:34:24 +13:00 committed by Joseph Sutton
parent 3057e14097
commit 3d8edb7b76

View File

@ -109,15 +109,6 @@ static krb5_error_code samba_wdc_get_pac(void *priv, krb5_context context,
return ret;
}
static krb5_error_code samba_wdc_get_pac_compat(void *priv, krb5_context context,
struct hdb_entry_ex *client,
struct hdb_entry_ex *server,
const krb5_boolean *pac_request,
krb5_pac *pac)
{
return samba_wdc_get_pac(priv, context, client, server, NULL, pac_request, pac);
}
static krb5_error_code samba_wdc_reget_pac2(krb5_context context,
const krb5_principal delegated_proxy_principal,
struct hdb_entry_ex *client,
@ -905,10 +896,9 @@ struct krb5plugin_windc_ftable windc_plugin_table = {
.minor_version = KRB5_WINDC_PLUGIN_MINOR,
.init = samba_wdc_plugin_init,
.fini = samba_wdc_plugin_fini,
.pac_generate = samba_wdc_get_pac_compat,
.pac_verify = samba_wdc_reget_pac,
.client_access = samba_wdc_check_client_access,
.pac_pk_generate = samba_wdc_get_pac,
.pac_generate = samba_wdc_get_pac,
};