MS CHAP V2 - returns ERROR_AUTHENTICATION_FAILURE

Natarajan, Saravana saravana.kumar.natarajan at hpe.com
Mon Oct 26 12:09:39 PDT 2015


Hi All, 

On using the code of wpa_supplicant-2.4, with valid username and invalid password,
MS-Chapv2 process eap_mschapv2_process returns the error and in the function eap_mschapv2_failure on seeing the error Authentication failure retry is not happening. 
Do you have any fix for this issue? Will it need to retry authentication? What need to be implemented here in TODO context. 

        } else if (retry && data->prev_error == ERROR_AUTHENTICATION_FAILURE) {
                /* TODO: could try to retry authentication, e.g, after having
                 * changed the username/password. In this case, EAP MS-CHAP-v2
                 * Failure Response would not be sent here. */
                return NULL;
        }


Please give clarification on this part.

Thanks, 
Saravana kumar



More information about the Hostap mailing list