summaryrefslogtreecommitdiff
path: root/source4/heimdal/kdc/windc.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-09-28 13:07:53 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-29 04:23:07 +1000
commit9b5e304ccedc8f0f7ce2342e4d9c621417dd1c1e (patch)
tree3e11b02e04b6791939a8dda1606bf1ab7b7de38f /source4/heimdal/kdc/windc.c
parent3021af2777ffd28f595835630510e367e7286c1c (diff)
downloadsamba-9b5e304ccedc8f0f7ce2342e4d9c621417dd1c1e.tar.gz
samba-9b5e304ccedc8f0f7ce2342e4d9c621417dd1c1e.tar.bz2
samba-9b5e304ccedc8f0f7ce2342e4d9c621417dd1c1e.zip
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) Andrew Bartlett
Diffstat (limited to 'source4/heimdal/kdc/windc.c')
-rw-r--r--source4/heimdal/kdc/windc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/heimdal/kdc/windc.c b/source4/heimdal/kdc/windc.c
index 524bc90d90..a8f1eb15d1 100644
--- a/source4/heimdal/kdc/windc.c
+++ b/source4/heimdal/kdc/windc.c
@@ -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)
{
if (windcft == NULL) {
@@ -93,7 +94,7 @@ _kdc_pac_verify(krb5_context context,
return EINVAL;
}
return (windcft->pac_verify)(windcctx, context,
- client_principal, client, server, pac);
+ client_principal, client, server, krbtgt, pac);
}
krb5_error_code