pass down server entry to verify_pac function, from Andrew Bartlett <abartlet@samba.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19796 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -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
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user