[OpenAFS] Error code question.

Jeffrey Hutzelman jhutz@cmu.edu
Mon, 17 Nov 2003 19:53:25 -0500


On Tuesday, November 11, 2003 14:17:49 -0500 Ken Hornstein 
<kenh@cmf.nrl.navy.mil> wrote:

>> My question is the error code being returned doesnt match the error
>> string.
>>
>> 220 	-1765328164 	Requesting ticket can't get forwardable tickets
>
> Where are you getting this code from?  I have:
>
># define KRB5_REALM_CANT_RESOLVE                  (-1765328164L)
>
> in my local krb5.h.

Well, someone's com_err is screwed up:

[jhutz@minbar ~] 56> error KRB5_REALM_CANT_RESOLVE -1765328164
-1765328165 krb5.219 KRB5_REALM_CANT_RESOLVE
  Cannot resolve KDC for requested realm
-1765328164 krb5.220 KRB5_TKT_NOT_FORWARDABLE
  Requesting ticket can't get forwardable tickets

My 'krb5' table came from heimdal 0.5e, FWIW
It appears that heimdal is missing KRB5_CC_NOT_KTYPE (krb5.200), making its 
values different from MIT kerberos for errors beyond that point in the 
'krb5' table.  <sigh>