* do_tgs_req.c (process_tgs_req): Fix logging of bad transit path info
authorKen Raeburn <raeburn@mit.edu>
Sat, 6 Oct 2001 00:11:20 +0000 (00:11 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 6 Oct 2001 00:11:20 +0000 (00:11 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13784 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/ChangeLog
src/kdc/do_tgs_req.c

index e9958da7efd35d78e1d7a9bfcb1a592ff15fb6aa..8213e40087b7e0e68d4b866444383b49b4a07ed6 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-05  Ken Raeburn  <raeburn@mit.edu>
+
+       * do_tgs_req.c (process_tgs_req): Fix logging of bad transit path
+       info.
+
 2001-09-25  Ken Raeburn  <raeburn@mit.edu>
 
        * do_tgs_req.c (process_tgs_req): If disable-transited-check
index 439b86caad57c8e610cbcc341cf2687d90316826..2a1490255ba5a5d71eae263b9938d90a5e6bf990 100644 (file)
@@ -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 : "<unknown client>",
                              sname ? sname : "<unknown server>",
-                             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 : "<unknown client>",
                              sname ? sname : "<unknown server>",
-                             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");