summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1990-12-19 16:32:01 +0000
committerTheodore Tso <tytso@mit.edu>1990-12-19 16:32:01 +0000
commitbf9d75e13d4b0097d2dd78dc08aa3bc7831f19c6 (patch)
tree0dfee788274739613ea7cbcc1b51fc677f80e043 /src/include
parentecde072b0ba687c1a18116073556bedbec581e58 (diff)
downloadkrb5-bf9d75e13d4b0097d2dd78dc08aa3bc7831f19c6.tar.gz
krb5-bf9d75e13d4b0097d2dd78dc08aa3bc7831f19c6.tar.xz
krb5-bf9d75e13d4b0097d2dd78dc08aa3bc7831f19c6.zip
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
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/errors.h12
1 files changed, 11 insertions, 1 deletions
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__ */