Microsoft KB Archive/328524

= Assigning Logical Units to Specific Terminal Server Clients =

Article ID: 328524

Article Last Modified on 10/21/2005

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition
 * Microsoft Host Integration Server 2000 Service Pack 1
 * Microsoft SNA Server 4.0

-



This article was previously published under Q328524



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
Access to logical units (LUs) can be restricted to SNA Server and Host Integration Server 2000 clients that are running on specified workstation names. However, if the SNA Client is running in a Terminal Server session, you cannot restrict an LU based on the specific Terminal Server client's workstation or device name.



SNA Server 4.0
A supported feature that modifies the product's default behavior is now available from Microsoft, but it is only intended to modify the behavior that this article describes. Apply it only to systems that specifically require it. This feature may receive additional testing. Therefore, if the system is not severely affected by the lack of this feature, we recommend that you wait for the next Microsoft SNA Server version 4.0 service pack that contains this feature.

To obtain this feature immediately, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date        Time   Version   Size     File name --  30-Oct-2002 19:00 4.0.0.606   60,800  Dmodappc.dll 30-Oct-2002 19:00 4.0.0.606  51,952  Snadmod.dll 30-Oct-2002 19:00 4.0.0.606 198,240  Snakrnl.dll 30-Oct-2002 19:00 4.0.0.606  53,088  Snands32.dll 30-Oct-2002 19:00 4.0.0.606  93,952  Wappc32.dll 30-Oct-2002 19:00 4.0.0.606 104,336  Snabase.exe

NOTE: Because of file dependencies, the most recent fix that contains the preceding files may also contain additional files.

Service pack information
This feature is available in the latest service pack for Microsoft Host Integration Server 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

328152 How to obtain the latest service pack for Host Integration Server 2000

Hotfix information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version      Size    File name -  15-Oct-2002  11:01  5.0.0.900    65,808  Dmodappc.dll 15-Oct-2002 11:00  5.0.0.900    61,712  Snadmod.dll 15-Oct-2002 11:00  5.0.0.900   229,648  Snakrnl.dll

NOTE: Because of file dependencies, the most recent fix that contains the preceding files may also contain additional files.

Using the SNA Manager Assign workstation to LU feature, the administrator can restrict access to an LU to SNA Server and Host Integration Server 2000 clients with a specified workstation name, IP address, or MAC address. When an SNA Server or Host Integration Server 2000 client connects to Host Integration Server, the client sends to the server the name of the computer on which the SNA Server or Host Integration Server 2000 Client is running.

If the client is running in a Terminal Server session, the client sends the name of the Terminal Server, instead of the name of the workstation that is running the Terminal Server client. Therefore, it is not possible to restrict an LU to specific Terminal Server clients or devices.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To restrict LU access to Terminal Server clients with specified names, install the hotfix mentioned earlier, and then follow these steps to add the registry key:  Start Registry Editor. Locate and then click the following key in the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SnaBase\Parameters

 On the Edit menu, click Add Value, and then add the following registry value:

Value name: AssignLUtoTSClient

Data type: REG_DWORD

Radix: Hexadecimal

Value data: 1

 Quit Registry Editor.

After you apply the fix and add this registry value, the SNA Client determines whether it is running under a Terminal session; if so, it will send Host Integration Server the name of the Terminal Server Client workstation, instead of the name of the Terminal Server itself.

Be aware of the following considerations:
 * Disconnected terminal server sessions are not supported in this fix. If you establish a Terminal server session, disconnect from Terminal Server, and then reconnect from another workstation. The workstation name that is sent to Host Integration Server will stay the same as the first one. Users must log off the terminal server session, instead of disconnecting.
 * The fix applies to all users (without exception) who connect to the Terminal Server and are running the End User client.

Additional query words: HIS 2000

Keywords: kbbug kbqfe kbpending kbhotfixserver KB328524

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.