diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-06-30 01:04:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:57 -0500 |
commit | ddffc922dfdc2572dc622d5fdb89095d356a83e9 (patch) | |
tree | 6bc48bfb6a905a6654ea05ae029daeb92a865403 /source4/kdc/pac-glue.c | |
parent | 0a8d694e806a770395f5a165d56b9b8ea9ce94b8 (diff) | |
download | samba-ddffc922dfdc2572dc622d5fdb89095d356a83e9.tar.gz samba-ddffc922dfdc2572dc622d5fdb89095d356a83e9.tar.xz samba-ddffc922dfdc2572dc622d5fdb89095d356a83e9.zip |
r8001: Also fill in the krbtgt checksum, and make sure to put the right
checksum in the right place...
Andrew Bartlett
(This used to be commit 90d0f502da20add6784c883b2085cde519604933)
Diffstat (limited to 'source4/kdc/pac-glue.c')
-rw-r--r-- | source4/kdc/pac-glue.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/kdc/pac-glue.c b/source4/kdc/pac-glue.c index 40d11d31e9a..9bfd0d3616e 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); |