[712] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Re: Minor typo in krb5 beta 4 kdc logging message

daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Wed Sep 7 17:39:59 1994

Date: Wed, 7 Sep 1994 17:39:48 +0500
From: Theodore Ts'o <tytso@MIT.EDU>
To: "Jonathan I. Kamens" <jik@cam.ov.com>
Cc: krb5-bugs@MIT.EDU
In-Reply-To: [689]

   [0689]F daemon@ATHENA.MIT.EDU (Jonathan I. Kamens) Kerberos-V5-bugs 08/31/94 14:29 (15 lines)
   Date: Wed, 31 Aug 1994 14:31:18 -0400
   From: "Jonathan I. Kamens" <jik@cam.ov.com>

   --- /afs/gza.com/development/krb5.beta4/src/kdc/do_as_req.c	Sat Jul 16 02:00:54 1994
   +++ do_as_req.c	Wed Aug 31 14:29:20 1994
   @@ -490,7 +490,7 @@
	free(reply.enc_part.ciphertext.data);

	if (is_secondary)
   -	syslog(LOG_INFO, "AS_REQ; ISSUE: authtime %d, host %s, %s for %s",
   +	syslog(LOG_INFO, "AS_REQ: ISSUE: authtime %d, host %s, %s for %s",
		  authtime, fromstring, cname, sname);
	else
	   syslog(LOG_INFO, "AS_REQ: ISSUE: authtime %d, host %s, %s for %s",

This is not a bug; it was an intential way to distinguish in the logs
the difference between a request that came in on the secondary port, and
one that came in on the primary Kerberos UDP port.  In fact, the only
reason for the conditional was to control whether or not a : or a ; was
printed. 

If you don't like this way of denoting this information, please feel
free to suggest another.

							- Ted

home help back first fref pref prev next nref lref last post