From: Theodore Tso <tytso@mit.edu>
Date: Wed, 19 Dec 1990 16:32:01 +0000 (+0000)
Subject: Added new error codes per Kerberos RFC Draft 3.2
X-Git-Tag: krb5-1.0-alpha3~21
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bf9d75e13d4b0097d2dd78dc08aa3bc7831f19c6;p=krb5.git

Added new error codes per Kerberos RFC Draft 3.2

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1572 dc483132-0cff-0310-8789-dd5450dbe970
---

diff --git a/src/include/krb5/errors.h b/src/include/krb5/errors.h
index 3e4c6972e..ae9ce0b08 100644
--- a/src/include/krb5/errors.h
+++ b/src/include/krb5/errors.h
@@ -39,6 +39,7 @@
 #define	KDC_ERR_ETYPE_NOSUPP		14 /* No support for encryption type */
 #define KDC_ERR_SUMTYPE_NOSUPP		15 /* No support for checksum type */
 #define KDC_ERR_PADATA_TYPE_NOSUPP	16 /* No support for padata type */
+#define KDC_ERR_TRTYPE_NOSUPP		17 /* No support for transited type */
 
 /* Application errors */
 #define	KRB_AP_ERR_BAD_INTEGRITY 31	/* Decrypt integrity check failed */
@@ -56,8 +57,17 @@
 #define	KRB_AP_ERR_BADKEYVER	44	/* Key version is not available */
 #define	KRB_AP_ERR_NOKEY	45	/* Service key not available */
 #define	KRB_AP_ERR_MUT_FAIL	46	/* Mutual authentication failed */
+#define KRB_AP_ERR_BADDIRECTION	47 	/* Incorrect message direction */
+#define KRB_AP_ERR_METHOD	48 	/* Alternative authentication */
+					/* method required */
+#define KRB_AP_ERR_BADSEQ	49 	/* Incorrect sequence numnber */
+					/* in message */
+#define KRB_AP_ERR_INAPP_CKSUM	50	/* Inappropriate type of */
+					/* checksum in message */
 
 /* other errors */
-#define	KRB_ERR_FIELD_TOOLONG	50	/* Field is too long for impl. */
+#define KRB_ERR_GENERIC		60 	/* Generic error (description */
+					/* in e-text) */
+#define	KRB_ERR_FIELD_TOOLONG	61	/* Field is too long for impl. */
 
 #endif /* KRB5_ERRORS__ */