Compartilhar via


RAS Server Authentication

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The Windows Embedded CE implementation of RAS server supports the following authentication protocols.

  • Password Authentication Protocol (PAP)
  • Challenge Handshake Authentication Protocol (CHAP)
  • Challenge Handshake Authentication Protocol (CHAP) MD5
  • Microsoft Challenge-Handshake Authentication Protocol (MS-CHAP)
  • Microsoft Challenge Handshake Authentication Protocol version 2.0 (MSCHAPv2)

You can set the particular authentication types supported by using the RASCNTL_SERVER_SET_PARAMETERS value in the RasIOControl function and setting the bmAuthenticationMethods member in the in the RASCNTL_SERVERSTATUS structure to the bitmask of the required authentication types. The bitmask can be set to any combination of the RASEO_ProhibitXxx constants defined is Ras.h. If set to 0, all supported authentication types will be allowed. If set to 0xFFFFFFFF, no authentication will be performed.

See Also

Reference

RasIOControl
RASCNTL_SERVERSTATUS

Concepts

RAS Server/PPTP Server (Incoming) Application Development