diff --git a/kdc/windc.c b/kdc/windc.c index 0adb535e1..7ebe0e679 100644 --- a/kdc/windc.c +++ b/kdc/windc.c @@ -85,14 +85,16 @@ _kdc_pac_generate(krb5_context context, krb5_error_code _kdc_pac_verify(krb5_context context, + const krb5_principal client_principal, hdb_entry_ex *client, - krb5_pac pac) + hdb_entry_ex *server, + krb5_pac *pac) { if (windcft == NULL) { krb5_set_error_string(context, "Can't verify WINDC, no function"); return EINVAL; } - return (windcft->pac_verify)(windcctx, context, client, pac); + return (windcft->pac_verify)(windcctx, context, client_principal, client, server, pac); } krb5_error_code diff --git a/kdc/windc_plugin.h b/kdc/windc_plugin.h index f75388eb3..b5afa73b1 100644 --- a/kdc/windc_plugin.h +++ b/kdc/windc_plugin.h @@ -57,14 +57,15 @@ typedef krb5_error_code typedef krb5_error_code (*krb5plugin_windc_pac_verify)(void *, krb5_context, - struct hdb_entry_ex *, krb5_pac); + const krb5_principal, + struct hdb_entry_ex *, struct hdb_entry_ex *, krb5_pac *); typedef krb5_error_code (*krb5plugin_windc_client_access)( void *, krb5_context, struct hdb_entry_ex *, KDC_REQ *); -#define KRB5_WINDC_PLUGING_MINOR 1 +#define KRB5_WINDC_PLUGING_MINOR 2 typedef struct krb5plugin_windc_ftable { int minor_version;