From bf9d75e13d4b0097d2dd78dc08aa3bc7831f19c6 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 19 Dec 1990 16:32:01 +0000 Subject: [PATCH] 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 --- src/include/krb5/errors.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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__ */ -- 2.26.2