svn rev #25380: branches/krb5-1-9/src/lib/krb5/krb/
tlyu@MIT.EDU
tlyu at MIT.EDU
Tue Oct 18 16:42:57 EDT 2011
http://src.mit.edu/fisheye/changelog/krb5/?cs=25380
Commit By: tlyu
Log Message:
ticket: 6952
version_fixed: 1.9.2
status: resolved
pull up r25121 from trunk
------------------------------------------------------------------------
r25121 | ghudson | 2011-09-01 12:21:25 -0400 (Thu, 01 Sep 2011) | 9 lines
ticket: 6952
subject: Fix cross-realm traversal TGT requests
target_version: 1.9.2
tags: pullup
When requesting a cross-realm TGT, use the KDC instance of the current
TGT (the second data component), not the realm which the TGT came
from.
Changed Files:
U branches/krb5-1-9/src/lib/krb5/krb/get_creds.c
Modified: branches/krb5-1-9/src/lib/krb5/krb/get_creds.c
===================================================================
--- branches/krb5-1-9/src/lib/krb5/krb/get_creds.c 2011-10-18 20:42:52 UTC (rev 25379)
+++ branches/krb5-1-9/src/lib/krb5/krb/get_creds.c 2011-10-18 20:42:57 UTC (rev 25380)
@@ -296,7 +296,7 @@
/* Construct the principal krbtgt/<realm>@<cur-tgt-realm>. */
krb5_free_principal(context, ctx->tgt_princ);
ctx->tgt_princ = NULL;
- code = krb5int_tgtname(context, realm, &ctx->cur_tgt->server->realm,
+ code = krb5int_tgtname(context, realm, &ctx->cur_tgt->server->data[1],
&ctx->tgt_princ);
if (code != 0)
return code;
More information about the cvs-krb5
mailing list