NetWare Client registry settings to control the behavior of SLP

  • 10086052
  • NOVL91721
  • 11-Aug-2003
  • 03-Feb-2004

Archived Content: This information is no longer maintained and is provided 'as is' for your convenience.

Goal

NetWare Client registry settings to control the behavior of SLP

Fact

Novell Client 4.83 SP2 for Windows NT/2000/XP

Symptom

Various problems related to waiting for required drivers to load and for at least one SLP DA to be found and made active in the client.

Error: "A required service not started"

Error" "Tree or server not found" when logging in with Client for WinNT/XP v4.83SP2

Error: "The selected tree (name of tree) cannot be found. Error code: 880f"

Immediate ctrl-alt-del on bootup and clicking the tree icon gets service not started error on NT.

DNS Timeout, due to client sending out invalid requests to the DNS server.

Drive mappings fail with 4.83SP2.

Error: "Login-LGNWNT32.DLL-890: The specified server is unknown"

Cause

These symptoms are all related to waiting for required drivers to load and for at least one SLP DA to be found and made active in the client.

Fix

Fixed in the Novell Client 4.83 SP3 for Windows NT/2000/XP

These symptoms are resolved by applying three updated modules; LOGINW32.DLL, NWFS.SYS, and SRVLOC.SYS. In connection with the changes made to these modules, several new controls, in the form of registry entries, are provided to adjust the behavior of the processes concerned.

"Max Retries" (Control relating to LOGINW32.DLL)
The "Max Retries" parameter defaults to a maximum 5 retries with a 1 second delay interval. On a slow NT4 system the message "a required service not started" may be displayed. This is the result of nwfs.sys not being loaded in time. The "Max Retries" parameter can be set to any value greater than 5. In the following registy example, it is set to 7. Previously, the "Max Retries" parameter was not always read before an operation with the login GUI so only the default of 5 was used. This has been corrected. There is no upper limit enforced for the "Max Retries" parameter. This should not be set greater than 20.

For Windows 2000 and Windows XP, create a file entitled LOGINW32.REG, with the following three lines, and merge this file into the machine's registry:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Login]
"Max Retries"=dword:00000007

For Windows NT, create a file entitled LOGINW32_NT.REG, with the following three lines, and merge this file into the machine's registry:

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Login]
"Max Retries"=dword:00000007

"Check SRVLOC Loaded Retries" (Control relating to NWFS.SYS)
"Check SRVLOC Loaded Retries" was added to control new logic that verifies that SRVLOC.SYS is loaded. The number of retries with a 1 second delay is specified by this parameter. The default is 5. In the following registy example, it is set to 6. Whenever a NWC_GET_REQUESTER_LINK_STATUS IOCTL is received by nwfs.sys it will first check for SRVLOC.SYS being loaded. If "Check SRVLOC Loaded Retries" is set to 0, no attempts will be made to check if SRVLOC.SYS is loaded. Good status is always returned after all retries even if SRVLOC.SYS is not loaded. There is no upper limit enforced for this registry parameter. Again this should not be greater than 20. For Windows 2000 and Windows XP, create a file entitled NWFS.REG, with the following three lines, and merge this file into the machine's registry:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetwareWorkstation\Parameters]
"Check SRVLOC Loaded Retries"=dword:00000006

For Windows NT, create a entitled NWFS_NT.REG, with the following three lines, and merge this file into the machine's registry:

REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetWareWorkstation\Parameters]
"Check SRVLOC Loaded Retries"=dword:00000006

"Check For Active DA Retries" (Control related to SRVLOC.SYS)
A new IOCTL, NWC_DA_UP, is now sent by NWFS.SYS to SRVLOC.SYS asking if at least one active Directory Agent (DA) exists. This IOCTL is sent to SRVLOC.SYS whenever a NWC_GET_REQUESTER_LINK_STATUS IOCTL is received by NWFS.SYS. A new SRVLOC.SYS parameter, "Check For Active DA Retries" has been added to control the number of retries with a one second delay for the active DA check. If this parameter is set to 0 no attempts will be made to check for an active DA and good status will still be returned. In any case after the specified retries good status will be returned. This has a default of 0 and if not present in the registry, no attempt will be made to verify that an active DA exists. In an environment with no DAs, this parameter must be set to 0 to avoid severe performance problems. In the following registy example, it is set to 7.

For Windows 2000 and Windows XP, create a file entitled SRVLOC.REG, with the following three lines, and merge this file into the machine's registry:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SRVLOC\Parameters]
"Check For Active DA Retries"=dword:00000007

For Windows NT, create a file entitled SRVLOC_NT, with the following three lines, and merge this file into the machine's registry:

REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srvloc]
"Check For Active DA Retries"=dword:00000007 

.