Looking up Kerberos error codes

Actually davidchr davespam at microsoft.com
Mon Sep 20 20:17:33 EDT 2004


If you don't already have a mechanism for this, ERR.EXE is a great
(Windows) tool for looking up error codes, including a good number of
Kerberos errors:

http://www.microsoft.com/downloads/details.aspx?FamilyId=BE596899-7BB8-4
208-B7FC-09E02A13696C&displaylang=en.

> err /kerberr.h 13
# kerberr.h selected.
# for decimal 13 / hex 0xd :
  KDC_ERR_BADOPTION
kerberr.h
# for hex 0x13 / decimal 19 :
  KDC_ERR_SERVICE_REVOKED
kerberr.h
# 2 matches found for "13"

The constant names are probably different from mitkrb5, but they're
usually similar enough to get the idea.  I realize you may/may not have
a Windows machine available for this purpose, but just in case.  

FYI.
-Dave

---
This message is provided "AS IS" with no warranties, and confers no
rights.
This message may originate from an unmonitored alias ("davespam") for
spam-reduction purposes.  Use "davidchr" for individual replies.
Any opinions or policies stated within are my own and do not necessarily
constitute those of my employer.
This message originates in the State of Washington (USA), where
unsolicited commercial email is legally actionable (see
http://www.wa-state-resident.com).
Harvesting of this address for purposes of bulk email (including "spam")
is prohibited unless by my expressed prior request.  I retaliate
viciously against spammers and spam sites.
 

> -----Original Message-----
> From: kerberos-bounces at MIT.EDU 
> [mailto:kerberos-bounces at MIT.EDU] On Behalf Of Jelmer Vernooij
> Sent: Monday, September 20, 2004 2:42 PM
> To: kerberos at MIT.EDU
> Subject: Looking up Kerberos error codes
> 
> Hi,
> 
> Trying to get krb5 authentication working together with PostgreSQL, I 
> stumbled across a couple of error codes that I can't place. 
> 
> The PostgreSQL error logs report that krb5_recvauth returns error
> '103' when connecting from one host and '13' when connecting from
> another, but I haven't been able to figure out what those two error
> codes mean.
> 
> Where can I lookup these error codes? KRB5PLACEHOLD_103 was the only 
> one with value 103 I could find, but it isn't used anywhere in MIT
> Kerberos 1.3.4.
> 
> Any ideas on how to debug these kinds of problems? 
> 
> Cheers,
> 
> Jelmer Vernooij
> ________________________________________________
> Kerberos mailing list           Kerberos at mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
> 



More information about the Kerberos mailing list