[16] in Kerberos

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

krb_err_txt.c

jon@ATHENA.MIT.EDU (jon@ATHENA.MIT.EDU)
Sun Aug 9 21:15:26 1987

From BCN%DEEP-THOUGHT@EDDIE.MIT.EDU  Thu Jul  3 14:15:11 1986
From: Clifford Neuman <BCN%DEEP-THOUGHT@EDDIE.MIT.EDU>
Subject: krb_err_txt.c
To: spm@ATHENA.MIT.EDU
Cc: kerberos@ATHENA.MIT.EDU

I am going to update this.  You went and created it, and apparently
told other people that they could use is (such as MTC) without ever
even mentioning to me that it existed.  What you didn't realize when
you created it was that not all routines returned the same thing.  For
example, and error code of 2 in rd_ap_requested meant that the ticket
was expired, but in mk_ap_request, it meant you couldn't find the
ticket.  I think it probably is a good idea to have the same code mean
the same thing for all routines, and I have since started to make this
the case.  

The problem is that you were telling people to use this array of error
messages for all routines (or at least they thought you were) when it
wasn't the case.  Anyway, people should use the error codes defined in
krb.h for comparisons in their own code.  The array should only be
used to display the messages.

	~ Cliff
-------


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