HOWTO: Windows 95/98 Session Management Modules (3/5)ID: Q232716
|
Dial-Up Networking uses Session Management Modules to abstract the interface presented by the Dial-up server. This is the third of five Knowledge Base articles describing the use of Session Management Modules.
HKEY_LOCAL_MACHINE/SYSTEM/SERVICES/REMOTEACCESS/AUTHENTICATION
CLASS
<device class>
<Dial-Up Adapter name 0>
...
<Dial-Up Adapter name n>
...
DRIVERS
<Dial-Up Adapter name 0>
0 = <Session Management Module 0>
...
m = <Session Management Module m>
...
SMM_FILES
<Session Management Module 0>
Desc =
Path =
Options =
Protocols =
Usage =
<Overlaid_SMM>
0 =
1 =
…
...
- Desc
A string-type value that contains the descriptive name of the SMM. The name is used to populate the list of SMM in the Server Type dialog boxes in the connection icon's Property page.- Path
A string-type value that contains the pathname of the Dynamic Linked Library (DLL) for the SMM. The path can be relative or a full pathname.- Options
A four-byte binary value for a set of flags that indicate the user-configurable options for the SMM. If the flag is set, users can configure the option from the Server Type dialog box in the connection icon's Property page. The current options are:SMMCFG_SW_COMPRESSION (0x00000001) The SMM can negotiate the software compression scheme.
SMMCFG_PW_ENCRYPTED (0x00000002) The SMM can use the encrypted password.
SMMCFG_NW_LOGON (0x00000004) The SMM allows Dial-Up Networking to log onto the network on the Dial-Up server automatically.
SMMCFG_SW_ENCRYPTION (0x00000010) The SMM can use the software encryption.
- Protocols
A four-byte binary value for a set of flags that indicate the network protocols that can be used by the corresponding Dial-Up adapter. If the flag is set, users can specify the protocols to use for the connection from the Server Type dialog box in the connection icon's Property page. The current protocols are:SMMPROT_NB (0x00000001) for NetBEUI
SMMPROT_IPX (0x00000002) for IPX/SPX Compatible
SMMPROT_IP (0x00000004) for TCP/IP
- Usage
A four-byte binary value for a set of flags that indicate the type of the SMM. The current usage includes:INITIATOR_TYPE (0x00000001) The SMM can be used for the client Dial-Up Networking.
RESPONDER_TYPE (0x00000002) The SMM can be used for the Dial-Up Networking server.
HKEY_LOCAL_MACHINE/SYSTEM/SERVICES/REMOTEACCESS/AUTHENTICATION
CLASS
COM
PPPMAC
DRIVERS
PPPMAC
0 = "PPP"
1 = "RAS"
2 = "NWC"
SMM_FILES
NWC
Desc = "NRN: Netware Connect"
Path = "rasapi32.dll"
Options = 04 00 00 00
Protocols = 02 00 00 00
Usage = 01 00 00 00
PPP
Desc = "PPP: Windows 95, Windows NT 3.5, Internet"
Path = "rasapi32.dll"
Options = 17 00 00 00
Protocols = 07 00 00 00
Usage = 03 00 00 00
RAS
Desc = "Windows for Workgroup and Windows NT 3.1"
Path = "rasapi32.dll"
Options = 04 00 00 00
Protocols = 01 00 00 00
Usage = 03 00 00 00
The default Dial-Up Adapter (Microsoft Dial-Up Adapter) is PPPMAC. PPPMAC handles a modem device and has three default Session Management Modules--NWC, PPP, and RAS. When the modem connection is established, Dial-Up Networking gets the device class of the modem from TAPI's lineGetID call for the NDIS type. The Unimodem service provider returns the COM device class for the modem. Dial-Up Networking looks for the Dial-Up adapters from the
.../REMOTEACCESS/AUTHENCATION/CLASS/COM key and finds PPPMAC as the only adapter. Next, Dial-Up Networking enumerates the Session Management Modules for PPPMAC from the .../REMOTEACCESS/AUTHENCATION/-DRIVERS/PPPMAC key, starting from the PPP type. When Dial-Up Networking is ready to hand control off to the SMM, it looks up the Path value in the .../REMOTEACCESS/AUTHENCATION/SMM_FILES/PPP key for the DLL name, then loads it and starts the session management phase.
For additional information about the use of Session Management Modules, please see the following articles in the Microsoft Knowledge Base:
Q232675 HOWTO: Windows 95/98 Session Management Modules (1/5)
Q232708 HOWTO: Windows 95/98 Session Management Modules (2/5)
Q232719 HOWTO: Windows 95/98 Session Management Modules (4/5)
Q232725 HOWTO: Windows 95/98 Session Management Modules (5/5)
Additional query words:
Keywords : kbnetwork kbNDIS kbWinOS95 kbWinOS98
Version : WINDOWS:; Win95:; Win98:
Platform : Win95 WINDOWS Win98
Issue type : kbhowto
Last Reviewed: June 9, 1999