krb5: Add missing errors from MIT krb5

Note that KRB5_ERR_NO_SERVICE changed value, as it was off by one.
This commit is contained in:
Nicolas Williams
2021-12-15 15:19:33 -06:00
committed by Luke Howard
parent af923957f6
commit 9d426d20b5

View File

@@ -3,6 +3,8 @@
#
# This might look like a com_err file, but is not
#
# Do try to keep this in sync with MIT's.
#
id "$Id$"
error_table krb5
@@ -269,15 +271,44 @@ error_code KRB5_SAM_INVALID_ETYPE, "Invalid encryption type in SAM challenge"
error_code KRB5_SAM_NO_CHECKSUM, "Missing checksum in SAM challenge"
error_code KRB5_SAM_BAD_CHECKSUM, "Bad checksum in SAM challenge"
index 238
error_code KRB5_KT_NAME_TOOLONG, "Keytab name too long"
error_code KRB5_KT_KVNONOTFOUND, "Key version number for principal in key table is incorrect"
error_code KRB5_APPL_EXPIRED, "This application has expired"
error_code KRB5_LIB_EXPIRED, "This Krb5 library has expired"
error_code KRB5_CHPW_PWDNULL, "New password cannot be zero length"
error_code KRB5_CHPW_FAIL, "Password change failed"
error_code KRB5_KT_FORMAT, "Bad format in keytab"
error_code KRB5_NOPERM_ETYPE, "Encryption type not permitted"
error_code KRB5_CONFIG_ETYPE_NOSUPP, "No supported encryption types (config file error?)"
error_code KRB5_OBSOLETE_FN, "Program called an obsolete, deleted function"
index 245
error_code KRB5_EAI_FAIL, "unknown getaddrinfo failure"
error_code KRB5_EAI_NODATA, "no data available for host/domain name"
error_code KRB5_EAI_NONAME, "host/domain name not found"
error_code KRB5_EAI_SERVICE, "service name unknown"
error_code KRB5_ERR_NUMERIC_REALM, "Cannot determine realm for numeric host address"
error_code KRB5_ERR_BAD_S2K_PARAMS, "Invalid key generation parameters from KDC"
error_code KRB5_ERR_NO_SERVICE, "Service not available"
index 247
error_code KRB5_CC_NOSUPP, "Credential cache function not supported"
error_code KRB5_DELTAT_BADFORMAT, "Invalid format of Kerberos lifetime or clock skew string"
error_code KRB5_PLUGIN_NO_HANDLE, "Supplied data not handled by this plugin"
error_code KRB5_PLUGIN_OP_NOTSUPP, "Plugin does not support the operaton"
error_code KRB5_ERR_INVALID_UTF8, "Invalid UTF-8 string"
error_code KRB5_ERR_FAST_REQUIRED, "FAST protected pre-authentication required but not supported by KDC"
error_code KRB5_LOCAL_ADDR_REQUIRED, "Auth context must contain local address"
error_code KRB5_REMOTE_ADDR_REQUIRED, "Auth context must contain remote address"
error_code KRB5_TRACE_NOSUPP, "Tracing unsupported"
end