Environment
OpenSLP
Situation
Resolution
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SRVLOC\Parameters]
"Use SingleEquals in Where (V2)"=dword:00000001
Additional Information
1. An SLPv2 DA service request should contain: "service:directory-agent" instead of just "directory-agent".
2. An SLPv2 service request should only have one equal between an attribute name and an attribute value in the where clause instead of two equals.
Support was added in the updated SRVLOC.SYS for the following registry key to control whether single or double equals are present in a where clause:
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SRVLOC\Parameters\Use SingleEquals in Where (V2)
The default is to use double equals. If this DWORD parameter is nonzero single equals will be used. Changes have been made to the NetWare DA to accept either single or double equals, but many existing installations are still using the old DA code that requires double equals. This is why the default for double equals was chosen.
The SRVLOC.SYS changes will reformat the where clause passed by either an application or by NWSLP.SYS to only contain single equals if the above registry is nonzero. e.g.:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SRVLOC\Parameters]
"Use SingleEquals in Where (V2)"=dword:00000001
To add the new registry value:
1) Run the REGEDIT utility and locate the [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SRVLOC\Parameters] key
2) Highlight the Parameters key and right click (or select Edit from the menu) and choose New | DWORD value
3) Type "Use SingleEquals in Where (V2)" without the quotes and press Enter
4) Double click on the new entry and change the Value data to 1 and click OK
5) Close the REGEDIT utility
Formerly known as TID# 10095884