Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

322 lines
11 KiB

; -- NETMSCLI.INX --
;
; Client For Microsoft Networks.
;
; Copyright (c) Microsoft Corporation. All rights reserved.
[Version]
Signature = "$Windows NT$"
Class = NetClient
ClassGUID = {4d36e973-e325-11ce-bfc1-08002be10318}
Provider = %Msft%
LayoutFile = layout.inf
[Manufacturer]
%Msft%=MSFT
[MSFT]
%MSClient_Desc% = MSClient.ndi, MS_MSCLIENT
;
; Install Sections
;
[MSClient.ndi]
AddReg = MSClient.ndi.AddReg, MSClient.AddReg, CSC.AddReg
Characteristics = 0x80 ; NCF_HAS_UI
[MSClient.ndi.Remove]
DelReg = MSClient.DelReg
;
; Services Sections
;
[MSClient.ndi.Services]
AddService = Alerter,, Alerter_Service_Inst, Alerter_Evt
AddService = Browser,0x10, Browser_Service_Inst, Browser_Evt
AddService = LanmanWorkstation,,Workstation_Service_Inst, Workstation_Evt, , Workstation
AddService = Netlogon, 0x90, Netlogon_Service_Inst, Netlogon_Evt
AddService = Messenger,, Messenger_Service_Inst
AddService = Rdbss,, Rdbss_Service_Inst, Rdbss_Evt
AddService = MrxSmb,, Rdr_Service_Inst, Rdr_Evt
DelService = Replicator
; RPC Configuration (from NT 4.0)
AddService = NtLmSsp,, NtLmSsp_Service_Inst
AddService = RpcLocator, 0x10, RpcLocator_Service_Inst
;
; Remove services
;
[MSClient.ndi.Remove.Services]
DelService = Alerter
DelService = Browser
DelService = LanmanWorkstation
DelService = Netlogon
DelService = Messenger
DelService = Rdbss
DelService = MrxSmb
DelService = NtLmSsp
DelService = RpcLocator
;
; Service Install Sections
;
[Alerter_Service_Inst]
DisplayName = %Alerter_Display%
ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
StartType = 4 ;SERVICE_DISABLED
ErrorControl = 1
ServiceBinary = %11%\svchost.exe -k LocalService
Dependencies = LanmanWorkstation
StartName = "NT AUTHORITY"\LocalService
AddReg = MSClient.Alerter.AddReg
Description = %Alerter_Desc%
[Browser_Service_Inst]
DisplayName = %Browser_Display%
ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
@@!b:StartType = 2 ;SERVICE_AUTO_START
@b:StartType = 3 ;SERVICE_DEMAND_START
ErrorControl = 1
ServiceBinary = %11%\svchost.exe -k netsvcs
Dependencies = LanmanWorkstation, LanmanServer
StartName = LocalSystem
AddReg = MSClient.Browser.AddReg
Description = %Browser_Desc%
[Workstation_Service_Inst]
DisplayName = %LanmanWorkstation_Display%
ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
StartType = 2 ;SERVICE_AUTO_START
ErrorControl = 1
ServiceBinary = %11%\svchost.exe -k netsvcs
LoadOrderGroup = NetworkProvider
StartName = LocalSystem
AddReg = MSClient.Workstation.AddReg
Description = %LanmanWorkstation_Desc%
[NetLogon_Service_Inst]
DisplayName = %NetLogon_Display%
ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
StartType = 3 ;SERVICE_DEMAND_START
ErrorControl = 1
ServiceBinary = %11%\lsass.exe
LoadOrderGroup = MS_WindowsRemoteValidation
Dependencies = LanmanWorkstation
StartName = LocalSystem
AddReg = MSClient.NetLogon.AddReg
Description = %NetLogon_Desc%
[Messenger_Service_Inst]
DisplayName = %Messenger_Display%
ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
StartType = 4 ;SERVICE_DISABLED
ErrorControl = 1
ServiceBinary = %11%\svchost.exe -k netsvcs
Dependencies = LanmanWorkstation, NetBIOS, PlugPlay, RpcSS
StartName = LocalSystem
AddReg = MSClient.Messenger.AddReg
Description = %Messenger_Desc%
[Rdr_Service_Inst]
DisplayName = %Rdr_Desc%
ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER
StartType = 1 ;SERVICE_SYSTEM_START
ErrorControl = 1
ServiceBinary = %12%\mrxsmb.sys
LoadOrderGroup = Network
Description = %Rdr_Desc%
[Rdbss_Service_Inst]
DisplayName = %Rdbss_Desc%
ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER
StartType = 1 ;SERVICE_SYSTEM_START
ErrorControl = 1
ServiceBinary = %12%\rdbss.sys
LoadOrderGroup = Network
Description = %Rdbss_Desc%
[RpcLocator_Service_Inst]
DisplayName = %RpcLocator_Display%
ServiceType = 0x10 ;SERVICE_WIN32_OWN_PROCESS
StartType = 3 ;SERVICE_DEMAND_START
ErrorControl = 1
ServiceBinary = %11%\locator.exe
Dependencies = LanmanWorkstation
StartName = "NT AUTHORITY"\NetworkService
AddReg = MSClient.RpcLocator.AddReg
Description = %RpcLocator_Desc%
[NtLmSsp_Service_Inst]
DisplayName = %NtLmSsp_Display%
ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
StartType = 3 ;SERVICE_DEMAND_START
ErrorControl = 1
ServiceBinary = %11%\lsass.exe
StartName = LocalSystem
Description = %NtLmSsp_Desc%
;
; Del Registry section
;
[MSClient.DelReg]
HKLM, Software\Microsoft\Rpc\SecurityService, 1
HKLM, Software\Microsoft\Rpc\SecurityService, 18
HKLM, Software\Microsoft\Rpc\SecurityService, 68
HKLM, Software\Microsoft\Rpc\SecurityService, DefaultProvider
HKLM, Software\Microsoft\Rpc\SecurityService, DefaultAuthLevel
@@:@6:HKLM, Software\Wow6432Node\Microsoft\Rpc\SecurityService, 1
@@:@6:HKLM, Software\Wow6432Node\Microsoft\Rpc\SecurityService, 18
@@:@6:HKLM, Software\Wow6432Node\Microsoft\Rpc\SecurityService, 68
@@:@6:HKLM, Software\Wow6432Node\Microsoft\Rpc\SecurityService, DefaultProvider
@@:@6:HKLM, Software\Wow6432Node\Microsoft\Rpc\SecurityService, DefaultAuthLevel
;
; Add Registry sections
;
[MSClient.ndi.AddReg]
HKR, Ndi, ClsID, 0, {57C06EAA-8784-11D0-83D4-00A0C911E5DF}
HKR, Ndi, Service, 0, LanmanWorkstation
HKR, Ndi, CoServices, 0x10000,"LanmanWorkstation", "Alerter", "Browser", "Netlogon", "Messenger", "NtLmSsp", "RpcLocator"
HKR, Ndi, ExcludeSetupStartServices, 0x10000,"Alerter", "Browser", "Netlogon", "Messenger", "NtLmSsp", "RpcLocator"
HKR, Ndi, HelpText, 0, "@netcfgx.dll,-50002"
HKR, Ndi\Interfaces, UpperRange, 0, "winnet5"
HKR, Ndi\Interfaces, LowerRange, 0, "netbios,netbios_smb"
;
; Add CSC (Client-side-caching) items
;
[CSC.AddReg]
HKLM, System\CurrentControlSet\Services\MRxSmb\Parameters, CscEnabled, 0x10001, 1
;
; Values for RPC service
;
[MSClient.AddReg]
HKLM, Software\Microsoft\Rpc\SecurityService, 1, , secur32.dll
HKLM, Software\Microsoft\Rpc\SecurityService, 18, , secur32.dll
HKLM, Software\Microsoft\Rpc\SecurityService, 68, , netlogon.dll
@@:@6:HKLM, Software\Wow6432Node\Microsoft\Rpc\SecurityService, 1, , secur32.dll
@@:@6:HKLM, Software\Wow6432Node\Microsoft\Rpc\SecurityService, 18, , secur32.dll
@@:@6:HKLM, Software\Wow6432Node\Microsoft\Rpc\SecurityService, 68, , netlogon.dll
;
; LanmanWorkstation network and print provider stuff
;
[MSClient.Workstation.AddReg]
HKR, Parameters, , 0x0010 ; no values. This is required for LanmanWorkstation to start
HKR, NetworkProvider, Name, 0, %NetproviderName%
HKR, NetworkProvider, ProviderPath, 0x20000, "%%SystemRoot%%\System32\ntlanman.dll"
HKR, Parameters, ServiceDll, 0x20000, "%%SystemRoot%%\System32\wkssvc.dll"
[MSClient.ndi.NetworkProvider]
DeviceName = LanmanRedirector
[MSClient.ndi.PrintProvider]
PrintProviderName = "LanMan Print Services"
PrintProviderDll = win32spl.dll
DisplayName = %LanmanPrintProvider%
;
; Params for NetLogon
;
[MSClient.NetLogon.AddReg]
HKR, Parameters, Update, 0, no
;
; Params for Alerter
;
[MSClient.Alerter.AddReg]
HKR, Parameters, AlertNames, 0x10000, ""
HKR, Parameters, ServiceDll, 0x20000, "%SystemRoot%\system32\alrsvc.dll"
;
; Params for Browser
;
@*: -----------------------------------------------------------------------------
@*: Warning! If you make changes to the following section, make sure to make the
@*: same changes under: ..\netcfg\msclicfg\mscliobj.cpp!CMSClient::HrRestoreRegistry
@*: This section is not used during upgrade.
@*:
@*: See Bug #88386 - deonb
@*: -----------------------------------------------------------------------------
[MSClient.Browser.AddReg]
@@:HKR, Parameters, IsDomainMaster, 0, FALSE
@w:HKR, Parameters, MaintainServerList, 0, Auto
@s:HKR, Parameters, MaintainServerList, 0, Yes
HKR, Parameters, ServiceDll, 0x20000, "%%SystemRoot%%\System32\browser.dll"
;
; Params for Messenger
;
[MSClient.Messenger.AddReg]
HKR, Parameters, ServiceDll, 0x20000, "%%SystemRoot%%\System32\msgsvc.dll"
;
; RPC Locator Keys
;
[MSClient.RpcLocator.AddReg]
HKR, Parameters, ExpirationAge, 0x10001, 3600
;
; Add Winsock Paramters Key
; (32-bit platforms only since AF_NETBIOS for 32-bit on 64-bit systems not
; supported.)
;
@@:@3:[MSClient.ndi.Winsock]
@@:@3:AddSock = MSClient.Install.AddWinsock
@@:@3:[MSClient.Install.AddWinsock]
@@:@3:TransportService=NetBIOS
@@:@3:HelperDllName="%SystemRoot%\System32\wshnetbs.dll"
@@:@3:MaxSockAddrLength=0x14
@@:@3:MinSockAddrLength=0x14
;
; Event log registry stuff
;
[Alerter_Evt]
AddReg = Alerter_Evt_AddReg
[Netlogon_Evt]
AddReg = Netlogon_Evt_AddReg
[Browser_Evt]
AddReg = Browser_Evt_AddReg
[Workstation_Evt]
AddReg = Workstation_Evt_AddReg
[Rdbss_Evt]
AddReg = Rdbss_Evt_AddReg
[Rdr_Evt]
AddReg = Rdr_Evt_AddReg
[Alerter_Evt_AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netmsg.dll"
HKR,, TypesSupported, 0x00010001, 0x00000007
[Netlogon_Evt_AddReg]
HKR,, ParameterMessageFile, 0x00020000, "%%SystemRoot%%\System32\kernel32.dll"
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netmsg.dll"
HKR,, TypesSupported, 0x00010001, 0x00000007
[Browser_Evt_AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR,, TypesSupported, 0x00010001, 0x00000007
[Workstation_Evt_AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netmsg.dll"
HKR,, TypesSupported, 0x00010001, 0x00000007
[Rdbss_Evt_AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR,, TypesSupported, 0x00010001, 0x00000007
[Rdr_Evt_AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll;%%SystemRoot%%\System32\iologmsg.dll"
HKR,, TypesSupported, 0x00010001, 0x00000007