Added new error codes per Kerberos RFC Draft 3.2
authorTheodore Tso <tytso@mit.edu>
Wed, 19 Dec 1990 16:32:01 +0000 (16:32 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 19 Dec 1990 16:32:01 +0000 (16:32 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1572 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/errors.h

index 3e4c6972e5ec334aea0eea80015c0112a5df9972..ae9ce0b086fb6afd89bb677cb8882768d35baa85 100644 (file)
@@ -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 */
 #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__ */