[4072] in Kerberos

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

Re: Kerberos

daemon@ATHENA.MIT.EDU (Kevin P. Neal)
Sun Oct 23 18:34:36 1994

To: kerberos@MIT.EDU
Date: 23 Oct 1994 22:06:59 GMT
From: kpn@thunder.catt.ncsu.edu (Kevin P. Neal)

: I can't guarantee you didn't do something wrong. ;-)  But it doesn't
: sound to me like the problem is on your end with such a weird symptom
: as that 7h/9min thing.

Clarification: With further testing, we determined that the time differential changes.
Kerberos reported the server time as a constant last night. Today, the server time is
still constant, but it is a different constant. Huh? We cut on debugging, and add some
debugging of our own, and here is what we saw when kinit'ing:
-- cut here
thunder% kinit kpneal
Kerberos Initialization for "kpneal"
lrealm is EOS.NCSU.EDU
krb_udp_port is 750
Getting host entry for kerberos.eos.ncsu.edu...Got it.
Sending message to 152.1.9.4...Sent
Waiting for reply...received packet from 152.1.9.4
Received it
Clen is 112
Kerberos Password: 

kinit: Time is out of bounds
localtime = 782949369, servertime = 782958349, skew = 300
-- cut here
We tried again:
++ cut here
thunder% kinit kpneal
Kerberos Initialization for "kpneal"
lrealm is EOS.NCSU.EDU
krb_udp_port is 750
Getting host entry for kerberos.eos.ncsu.edu...Got it.
Sending message to 152.1.9.4...Sent
Waiting for reply...received packet from 152.1.9.4
Received it
Clen is 112
Kerberos Password: 

kinit: Time is out of bounds      
localtime = 782949555, servertime = 782958349, skew = 300
++ cut here                         ^^^^^^^^^ notice that this is a constant!
See anything obviously wrong here, other than the time stuff? My time is rdate'd to
kerberos.eos.ncsu.edu, so that time is correct. What then? Is the code undoing the 
packet incorrectly, and using the date field as the time field or somesuch? Is this
a byte-order thing? Is there an unreported error somewhere? I don't know.
--
// Kevin P. Neal                   | case@catt.ncsu.edu 
// Sophomore, CSC/CPE              | kpneal@eos.ncsu.edu
// North Carolina State University | kevinneal@bix.com
// www.catt.ncsu.edu: mosaic page, pgp key through finger

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