heimdal Add support for extracting a particular KVNO from the database
This should allow master key rollover. (but the real reason is to allow multiple krbtgt accounts, as used by Active Directory to implement RODC support) Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hornquist Astrand

parent
e189d712ce
commit
f469fc6d49
@@ -86,6 +86,7 @@ _kdc_pac_verify(krb5_context context,
|
||||
const krb5_principal client_principal,
|
||||
hdb_entry_ex *client,
|
||||
hdb_entry_ex *server,
|
||||
hdb_entry_ex *krbtgt,
|
||||
krb5_pac *pac,
|
||||
int *verified)
|
||||
{
|
||||
@@ -95,7 +96,7 @@ _kdc_pac_verify(krb5_context context,
|
||||
return 0;
|
||||
|
||||
ret = windcft->pac_verify(windcctx, context,
|
||||
client_principal, client, server, pac);
|
||||
client_principal, client, server, krbtgt, pac);
|
||||
if (ret == 0)
|
||||
*verified = 1;
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user