[1698] in Kerberos-V5-bugs
V4 ticket file incompatibility in krb4/tf_util.c
daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Sun Oct 29 19:42:30 1995
From: epeisach@MIT.EDU
Date: Sun, 29 Oct 1995 19:42:25 -0500
To: krb5-bugs@MIT.EDU
Cc: eichin@MIT.EDU
When the ticket file is written, the issue_date is written as a long:
int tf_save_cred(service, instance, realm, session, lifetime, kvno,
ticket, issue_date)
long issue_date; /* The issue time */
{
.....
if (write(fd, (char *) &issue_date, sizeof(long))
!= sizeof(long))
but when reading:
tf_read((char *) &(c->issue_date), sizeof(c->issue_date)) < 1
where issue date is currently defined as:
KRB4_32 issue_date; /* The issue time */
in include/kerberosIV/krb.h
Needless to say - this causes problems with outgoing telnet connections
which use V4 authentication....
Question: Does cygnus still use a sizeof(long) to write the date out? If
so, I sould probably fix tf_util to read 8 bytes in and deal properly.
Ezra