Fixed ordering mistake in the protocol error messages
authorTheodore Tso <tytso@mit.edu>
Thu, 20 Dec 1990 15:32:02 +0000 (15:32 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 20 Dec 1990 15:32:02 +0000 (15:32 +0000)
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

index afc7515347e321b8bc9b1b39ee3f6292c9f22619..3ee768650d698c04733313f1f471a8534fd4d0d8 100644 (file)
@@ -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