diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-06-24 11:08:33 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-06-24 18:53:48 +0200 |
commit | b96efe069bd0a8d67c8d787a96415f8b02205462 (patch) | |
tree | f82b3a0d35304bcb9dcb3a0cd7000c0c329ab59a /source4/heimdal | |
parent | 61ad6060161709d14f83da6f4cfecff120f83da2 (diff) | |
download | samba-b96efe069bd0a8d67c8d787a96415f8b02205462.tar.gz samba-b96efe069bd0a8d67c8d787a96415f8b02205462.tar.bz2 samba-b96efe069bd0a8d67c8d787a96415f8b02205462.zip |
HEIMDAL:kdc: use the correct client realm in the EncTicketPart
With S4U2Proxy tgt->crealm might be different from tgt_name->realm.
metze
Diffstat (limited to 'source4/heimdal')
-rw-r--r-- | source4/heimdal/kdc/krb5tgs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/heimdal/kdc/krb5tgs.c b/source4/heimdal/kdc/krb5tgs.c index 66170cb29f..16f8434a5c 100644 --- a/source4/heimdal/kdc/krb5tgs.c +++ b/source4/heimdal/kdc/krb5tgs.c @@ -901,7 +901,7 @@ tgs_make_reply(krb5_context context, ret = krb5_copy_keyblock_contents(context, sessionkey, &et.key); if (ret) goto out; - et.crealm = tgt->crealm; + et.crealm = tgt_name->realm; et.cname = tgt_name->name; ek.key = et.key; |