From a421f7ec84f68a2e1bb0da08ec35e23b4ac8d523 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 20 Dec 1990 15:32:02 +0000 Subject: [PATCH] Fixed ordering mistake in the protocol error messages Added error codes for sendauth() and recvauth() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1589 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/error_tables/krb5_err.et | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/error_tables/krb5_err.et b/src/lib/krb5/error_tables/krb5_err.et index afc751534..3ee768650 100644 --- a/src/lib/krb5/error_tables/krb5_err.et +++ b/src/lib/krb5/error_tables/krb5_err.et @@ -67,7 +67,8 @@ error_code KRB5KRB_AP_ERR_BADDIRECTION, "Incorrect message direction" error_code KRB5KRB_AP_ERR_METHOD, "Alternative authentication method required" error_code KRB5KRB_AP_ERR_BADSEQ, "Incorrect sequence number in message" error_code KRB5KRB_AP_ERR_INAPP_CKSUM, "Inappropriate type of checksum in message" -#^^ 51 +#^^ 50 +error_code KRB5PLACEHOLD_51, "KRB5 error code 51" error_code KRB5PLACEHOLD_52, "KRB5 error code 52" error_code KRB5PLACEHOLD_53, "KRB5 error code 53" error_code KRB5PLACEHOLD_54, "KRB5 error code 54" @@ -238,4 +239,13 @@ error_code KRB5_CC_NOMEM, "No more memory to allocate (in credentials cache cod error_code KRB5_INVALID_FLAGS, "Invalid KDC option combination (library internal error)" error_code KRB5_NO_2ND_TKT, "Request missing second ticket" +error_code KRB5_NOCREDS_SUPPLIED, "No credentials supplied to library routine" + +# errors for sendauth (and recvauth) + +error_code KRB5_SENDAUTH_BADAUTHVERS, "Bad sendauth version was sent" +error_code KRB5_SENDAUTH_BADAPPLVERS, "Bad application version was sent (via sendauth)" +error_code KRB5_SENDAUTH_BADRESPONSE, "Bad response (during sendauth exchange)" +error_code KRB5_SENDAUTH_REJECTED, "Server rejected authentication (during sendauth exchange)" +error_code KRB5_SENDAUTH_MUTUAL_FAILED, "Mutual authentication failed (during sendauth exchange)" end -- 2.26.2