다음을 통해 공유


3.2.5.2 Received Challenge-Request Packet

If the currentState variable is set to EAP_CHAP_BEGIN, then:

  • Assign the Challenge obtained from the embedded MSCHAPv2 packet to AuthenticatorChallenge.

  • If the Username and Password are not obtained as specified in the section 3.2.4, then  the Username and Password are obtained using an implementation-specific mechanism.<4> If the fUseWinLogonCreds element is set, then Username and Password are obtained from the presently logged on user context by using an implementation-specific mechanism.

  • Generate a PeerChallenge, as specified in [RFC2759] section 4.

  • Prepare a Challenge-Response packet that embeds an MSCHAPv2 Challenge-Response packet, and send it to the server.

  • Set currentState to EAP_CHAP_CHALLENGE_RESPONSE_SENT.

If the currentState variable is not set to EAP_CHAP_BEGIN, the packet is ignored.