From 2e0ebe3766332b985c79b7ff92476c61fa16326b Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 6 Oct 2001 00:11:20 +0000 Subject: [PATCH] * do_tgs_req.c (process_tgs_req): Fix logging of bad transit path info git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13784 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 5 +++++ src/kdc/do_tgs_req.c | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index e9958da7e..8213e4008 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,8 @@ +2001-10-05 Ken Raeburn + + * do_tgs_req.c (process_tgs_req): Fix logging of bad transit path + info. + 2001-09-25 Ken Raeburn * do_tgs_req.c (process_tgs_req): If disable-transited-check diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c index 439b86caa..2a1490255 100644 --- a/src/kdc/do_tgs_req.c +++ b/src/kdc/do_tgs_req.c @@ -54,10 +54,10 @@ static krb5_error_code prepare_error_tgs (krb5_kdc_req *, krb5_ticket *, /*ARGSUSED*/ krb5_error_code process_tgs_req(pkt, from, portnum, response) -krb5_data *pkt; -const krb5_fulladdr *from; /* who sent it ? */ -int portnum; -krb5_data **response; /* filled in with a response packet */ + krb5_data *pkt; + const krb5_fulladdr *from; /* who sent it ? */ + int portnum; + krb5_data **response; /* filled in with a response packet */ { krb5_keyblock * subkey; krb5_kdc_req *request = 0; @@ -502,15 +502,15 @@ tgt_again: "bad realm transit path from '%s' to '%s' via '%.*s'", cname ? cname : "", sname ? sname : "", - enc_tkt_transited.tr_contents.length, - enc_tkt_transited.tr_contents.data); + enc_tkt_reply.transited.tr_contents.length, + enc_tkt_reply.transited.tr_contents.data); else krb5_klog_syslog (LOG_ERR, "unexpected error checking transit from '%s' to '%s' via '%.*s': %s", cname ? cname : "", sname ? sname : "", - enc_tkt_transited.tr_contents.length, - enc_tkt_transited.tr_contents.data, + enc_tkt_reply.transited.tr_contents.length, + enc_tkt_reply.transited.tr_contents.data, error_message (errcode)); } else krb5_klog_syslog (LOG_ERR, "not checking transit path"); -- 2.26.2