[552] in Kerberos-V5-bugs
Possible bug in crep2kcrep.c
daemon@ATHENA.MIT.EDU (naganand@athena.tay.dec.com)
Thu Jun 30 16:40:45 1994
From: naganand@athena.tay.dec.com
To: krb5-bugs@MIT.EDU
Date: Thu, 30 Jun 1994 16:32:07 -0400 (EDT)
I was trying to get the telnet work with forwardable tickets and I was
always getting the error BADCOMBO.
I think the function KRB5_EncKrbCredPart2krb5_cred_enc_part has a bug
in it.
The following code
if (val->timestamp) {
if (!(val->optionals & opt_KRB5_EncKrbPrivPart_usec)) {
/* must have usec if we have timestamp */
*error = ISODE_50_LOCAL_ERR_BADCOMBO;
goto errout;
}
I think should be
if (val->timestamp) {
if (!(val->optionals & opt_KRB5_EncKrbCredPart_usec)) {
/* must have usec if we have timestamp */
*error = ISODE_50_LOCAL_ERR_BADCOMBO;
goto errout;
}
When I made this change, everything worked fine. I am using krb5.4
-- Naganand
--------------------------------------------------------------------------
e-mail: naganand@athena.tay.dec.com
tel #: (508)250-4441 (R)
(508)952-4210 (O)
-------------------------------------------------------------------------