Microsoft KB Archive/186371

From BetaArchive Wiki
Knowledge Base


Remote Access Server (RAS) PPP MD5-Challenge Handshake Authentication Protocol (CHAP) Authenticator Support

Article ID: 186371

Article Last Modified on 11/1/2006



APPLIES TO

  • Microsoft Windows NT 4.0 Service Pack 3
  • Microsoft Windows NT 4.0 Service Pack 4
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition



This article was previously published under Q186371

SUMMARY

Windows NT 4.0 Service Pack 3 and later provide limited PPP MD5- CHAP authenticator support to the Remote Access Server (RAS), which may be useful for small user-count environments using non-Microsoft PPP dial-in clients. The support is local to a given RAS server. The MD5 account information is stored in the RAS server registry and is not integrated or synchronized with the User Manager account database. Integrated support will appear in a later release, at which time this limited support may be removed.

MORE INFORMATION

The local MD5-CHAP authenticator is enabled by creating the MD5 key below and adding "account" subkeys of the form [<domain>:]<user>, with subvalue "Pw" containing the account password. The ":" notation is used instead of "\" due to the syntax rules of registry keys. The 'domain:' is optional and typically omitted. MD5-CHAP will not be negotiated (old behavior) when the MD5 key does not exist (default).

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan\PPP\CHAP\MD5 [domain:]user(REG_SZ)Pw


NOTE: Even though MD5 support is added in SP3, Windows NT RAS Server will prefer MS-CHAP (MD4). When a client connects, the RAS server will offer MS-CHAP (MD4) first and then fall back to MD5. Some third-party clients may interpret this to mean that the RAS server does not support MD5 because it does not offer it first. If the client does ask for MD5 it will work correctly if it is set up on the RAS server as described in this article.

This behavior is by design. MS-CHAP(MD4) is implemented in a more secure and robust way than MD5 and therefore is the preferred authentication protocol for Windows NT Server.

Keywords: kbinfo kbfea KB186371