X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=gsseap_err.et;h=5dfa3d49fe6c342aff1cb21b30dcd311c7660c08;hb=refs%2Fheads%2Fjson-name;hp=dd4fca3438e35fa92515f3d683d5c391b3607005;hpb=d1cf19bdeab3702169cac7dd48af36769b9787ef;p=mech_eap.orig diff --git a/gsseap_err.et b/gsseap_err.et index dd4fca3..5dfa3d4 100644 --- a/gsseap_err.et +++ b/gsseap_err.et @@ -1,5 +1,5 @@ # -# Copyright (c) 2010, JANET(UK) +# Copyright (c) 2011, JANET(UK) # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -43,14 +43,16 @@ error_code GSSEAP_BAD_TOK_HEADER, "Token header is malformed or co error_code GSSEAP_TOK_TRUNC, "Token is missing data" error_code GSSEAP_BAD_DIRECTION, "Packet was replayed in wrong direction" error_code GSSEAP_WRONG_TOK_ID, "Received token ID does not match expected token ID" -error_code GSSEAP_CRIT_EXT_UNAVAILABLE, "Critical extension unavailable" -error_code GSSEAP_MISSING_REQUIRED_EXT, "Missing required extension" +error_code GSSEAP_CRIT_ITOK_UNAVAILABLE, "Critical inner token type unavailable" +error_code GSSEAP_MISSING_REQUIRED_ITOK, "Missing required inner token" +error_code GSSEAP_DUPLICATE_ITOK, "Duplicate inner token received" +error_code GSSEAP_WRONG_ITOK, "Recieved invalid inner token for current state" error_code GSSEAP_KEY_UNAVAILABLE, "EAP key unavailable" error_code GSSEAP_KEY_TOO_SHORT, "EAP key too short" error_code GSSEAP_RADIUS_AUTH_FAILURE, "Authentication rejected by RADIUS server" error_code GSSEAP_UNKNOWN_RADIUS_CODE, "Received unknown response code from RADIUS server" error_code GSSEAP_MISSING_EAP_REQUEST, "RADIUS response is missing EAP request" -error_code GSSEAP_GENERIC_RADIUS_ERROR, "Generic RADIUS error" +error_code GSSEAP_RADIUS_PROT_FAILURE, "Generic RADIUS failure" # # Context errors @@ -67,6 +69,7 @@ error_code GSSEAP_BAD_CONTEXT_OPTION, "Bad context option" error_code GSSEAP_BAD_SERVICE_NAME, "Name is not a valid service name" error_code GSSEAP_BAD_INITIATOR_NAME, "Initiator identity must be a valid name" error_code GSSEAP_NO_HOSTNAME, "Could not determine local host name" +error_code GSSEAP_NO_ACCEPTOR_NAME, "Could not determine acceptor identity" # # Credential errors @@ -75,6 +78,8 @@ error_code GSSEAP_BAD_USAGE, "Credential usage type is unknow error_code GSSEAP_CRED_USAGE_MISMATCH, "Credential usage does not match requested usage" error_code GSSEAP_CRED_MECH_MISMATCH, "Credential is not usable with this mechanism" error_code GSSEAP_BAD_CRED_OPTION, "Bad credential option" +error_code GSSEAP_NO_DEFAULT_IDENTITY, "Default credentials identity unavailable" +error_code GSSEAP_NO_DEFAULT_CRED, "Missing default password or other credentials" # # Wrap/unwrap/PRF errors @@ -92,6 +97,7 @@ error_code GSSEAP_BAD_PRF_KEY, "PRF key usage type is unknown" # error_code GSSEAP_LIBEAP_INIT_FAILURE, "Failed to initialize EAP library" error_code GSSEAP_PEER_SM_INIT_FAILURE, "Failed to create EAP state machine" +error_code GSSEAP_PEER_SM_STEP_FAILURE, "Failed to step EAP state machine" error_code GSSEAP_PEER_AUTH_FAILURE, "EAP peer authentication failure" error_code GSSEAP_PEER_BAD_MESSAGE, "Received bad EAP message"