Partager via


RAS Server Authentication

The Windows 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

RAS Server/PPTP Server (Incoming) | RasIOControl | RASCNTL_SERVERSTATUS

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.