summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/pac-glue.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/kdc/pac-glue.c b/source4/kdc/pac-glue.c
index 40d11d31e9..9bfd0d3616 100644
--- a/source4/kdc/pac-glue.c
+++ b/source4/kdc/pac-glue.c
@@ -27,7 +27,8 @@
krb5_error_code samba_get_pac(krb5_context context,
struct krb5_kdc_configuration *config,
krb5_principal client,
- krb5_keyblock *keyblock,
+ krb5_keyblock *krbtgt_keyblock,
+ krb5_keyblock *server_keyblock,
krb5_data *pac)
{
krb5_error_code ret;
@@ -64,13 +65,13 @@
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(0, ("Getting user info for PAC failed: %s\n",
nt_errstr(nt_status)));
- talloc_free(mem_ctx);
return EINVAL;
}
ret = kerberos_encode_pac(mem_ctx, server_info,
context,
- keyblock,
+ krbtgt_keyblock,
+ server_keyblock,
pac);
talloc_free(mem_ctx);