[2023] in Athena Bugs

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

Kerberos error message

daemon@ATHENA.MIT.EDU (bjaspan@ATHENA.MIT.EDU)
Mon Apr 3 23:25:48 1989

From: <bjaspan@ATHENA.MIT.EDU>
Date: Mon, 3 Apr 89 23:25:05 EDT
To: krbdev@ATHENA.MIT.EDU
Cc: bugs@ATHENA.MIT.EDU

krb_get_in_tkt() returns the same error message, INTK_ERR, for
two distinct errors.

    if (strcmp(s_name, service) || strcmp(s_instance, sinstance) ||
        strcmp(rlm, realm))   /* not what we asked for */
      return(INTK_ERR);       /* we need a better code here XXX */

    /* initialize ticket cache */
    if (in_tkt(user,instance) != KSUCCESS)
      return(INTK_ERR);

I can think of no way to determine which piece of code is returning
the error, short of rebuilding the library to include some printf()s
or running it under a debuger, neither of which is particularly fun.

Is there a particular reason there isn't an

	if (krb_debug) fprintf(stderr,...) 

in both places?  It would be really helpful.

Barr3y

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