summaryrefslogtreecommitdiff
path: root/source4/heimdal/kdc/windc.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-06-28 13:24:50 +0200
committerStefan Metzmacher <metze@samba.org>2011-06-28 18:24:37 +0200
commitcef06b5ca180654471fa6d4aa0493ae3f53de2ea (patch)
tree62041e58b8b9cdcf4e7c0df5eaf8c75f91f3a3c2 /source4/heimdal/kdc/windc.c
parent6982ea767d2b1ddd2346431a8f2327cc29f45b87 (diff)
downloadsamba-cef06b5ca180654471fa6d4aa0493ae3f53de2ea.tar.gz
samba-cef06b5ca180654471fa6d4aa0493ae3f53de2ea.tar.bz2
samba-cef06b5ca180654471fa6d4aa0493ae3f53de2ea.zip
HEIMDAL:kdc: pass down the delegated_proxy_principal to the verify_pac()
function This is needed in order to add the S4U_DELEGATION_INFO to the pac. metze
Diffstat (limited to 'source4/heimdal/kdc/windc.c')
-rw-r--r--source4/heimdal/kdc/windc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/heimdal/kdc/windc.c b/source4/heimdal/kdc/windc.c
index 6efbeee9dd..a58cebb8b2 100644
--- a/source4/heimdal/kdc/windc.c
+++ b/source4/heimdal/kdc/windc.c
@@ -84,6 +84,7 @@ _kdc_pac_generate(krb5_context context,
krb5_error_code
_kdc_pac_verify(krb5_context context,
const krb5_principal client_principal,
+ const krb5_principal delegated_proxy_principal,
hdb_entry_ex *client,
hdb_entry_ex *server,
hdb_entry_ex *krbtgt,
@@ -96,7 +97,9 @@ _kdc_pac_verify(krb5_context context,
return 0;
ret = windcft->pac_verify(windcctx, context,
- client_principal, client, server, krbtgt, pac);
+ client_principal,
+ delegated_proxy_principal,
+ client, server, krbtgt, pac);
if (ret == 0)
*verified = 1;
return ret;