summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-01-31 02:15:59 -0500
committerGreg Hudson <ghudson@mit.edu>2013-01-31 02:15:59 -0500
commitcba077afd0a3c133c52cc25c84da62205ba61013 (patch)
treeb747f02e09ac07d8f3b6b54a6dcdd61b706fd721
parentc072b059ecff257e7600be0e86869decd135d422 (diff)
downloadkrb5-cba077afd0a3c133c52cc25c84da62205ba61013.tar.gz
krb5-cba077afd0a3c133c52cc25c84da62205ba61013.tar.xz
krb5-cba077afd0a3c133c52cc25c84da62205ba61013.zip
Revert previous change to process_tgs_req
Commit c072b059ecff257e7600be0e86869decd135d422 did not have the intended effect because, at the point where is_referral is set, request->server has already been modified to contain server->princ. ticket: 7555 status: open
-rw-r--r--src/kdc/do_tgs_req.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c
index 12589b8039..d2b89e25ec 100644
--- a/src/kdc/do_tgs_req.c
+++ b/src/kdc/do_tgs_req.c
@@ -246,7 +246,7 @@ process_tgs_req(struct server_handle *handle, krb5_data *pkt,
setflag(c_flags, KRB5_KDB_FLAG_CROSS_REALM);
is_referral = krb5_is_tgs_principal(server->princ) &&
- !krb5_principal_compare(kdc_context, request->server, server->princ);
+ !krb5_principal_compare(kdc_context, tgs_server, server->princ);
/* Check for protocol transition */
errcode = kdc_process_s4u2self_req(kdc_active_realm,