Change in K4 ticket cache format

Sam Hartman hartmans at MIT.EDU
Tue May 17 02:29:13 EDT 2005


>>>>> "Russ" == Russ Allbery <rra at stanford.edu> writes:

    Russ> Jeffrey Altman <jaltman at columbia.edu> writes:
    >> There are clearly 64-bit issues with the Kerberos 4 code.  The
    >> CREDENTIALS data structure in the older krb4 library (as used
    >> on Windows for example) shows the issue_date as a "long" and
    >> not a KRB4_32.

    >> The krb_save_credentials() function in both the krb4-compat
    >> library and the original krb4 library use a "long" for the
    >> issue_date parameter.  The ccache-glue.c code uses a "long",
    >> the memcache uses a "long", as well as everything else in the
    >> krb4-compat library.

    >> The declaration of the CREDENTIALS struct in the krb4-compat
    >> version of krb.h as KRB4_32 goes back at least to the 1.0
    >> release.  Clearly there was an intention to convert from the
    >> use of "long" to KRB4_32 at some point which was never followed
    >> through.

    Russ> Well, in 1.2 everything used KRB4_32 uniformly.  It was only
    Russ> in 1.3 that the read and write functions switched back to a
    Russ> long.  (Maybe for compatibility with old krb4 libraries?)

Can you please confirm you are not dealing with Stanford local
patches?

I think that's what we determined the last time we looked at this.



More information about the krbdev mailing list