Solaris PC NetLink 1.0 Administration Guide

Appendix A SunLink Server Registry

In the SunLink Server program, most configuration information is centrally stored in a single database called the Registry. Ordinarily, you use SunLink Server Manager to change Registry values by way of the graphical user interface. However, you may also use the Windows Registry Editor to change values by editing the Registry database manually.

This appendix provides the following information:

SunLink Server Registry Structure

The SunLink Server Registry is a database organized in an hierarchical structure. It is composed of subtrees and their keys, and value entries. A key also can contain additional subkeys.

The following table identifies and defines the SunLink Server Registry subtrees.

Table A-1 SunLink Server Registry Subtrees

Root Key Name 

Description 

HKEY_LOCAL_MACHINE

Contains information about the local computer system, including hardware and operating system data such as bus type, system memory, device drivers, and startup control data. 

HKEY_USERS

Contains all actively loaded user profiles and the default profile. Users who are accessing a server remotely do not have profiles under this key on the server; their profiles are loaded into the Registry on their own computers. 

The SunLink Server Registry is stored in the /var/opt/lanman/datafiles directory on the SunLink Server computer.

Each Registry key can contain data items called value entries. Keys are analogous to folders, and value entries are analogous to files within the folders.

A value entry has three parts, which always appear in the following order: the name of the value, the data type of the value, and the value itself, which can be data of any length.

Data types, such as REG_SZ or REG_EXPAND_SZ, describe the format of the data, which can be up to 1 Mbyte. Data types from 0 to 0x7fffffff are reserved for definition by the system, and applications should not use these types. Data types from 0x80000000 to 0xffffffff are reserved for use by applications.

The following table lists and defines the data types currently used by the system.

Table A-2 Registry Data Types

Data Type 

Description 

REG_BINARY

Binary data. For example: 

Component Information : REG_BINARY : 00 00 00...

REG_DWORD

Data represented by a number that is 4 bytes long. Many keys for device drivers and services are this type and can be displayed in Registry Editor in binary, hexadecimal, or decimal format. For example, entries for service error controls are this type: 

ErrorControl : REG_DWORD : 0x1

REG_EXPAND_SZ

An expandable data string, which is text that contains a variable to be replaced when called by an appli­cation. For example, for the following value, the string %SystemRoot% will be replaced by the actual location of the directory containing the SunLink Server system files:

File : REG_EXPAND_SZ : %SystemRoot%\file.exe

REG_MULTI_SZ

A multiple string. Values that contain lists or multiple values in human readable text are usually this type. Entries are separated by NULL characters.  

AlertNames : REG_MULTI_SZ : Administrator tom

REG_SZ

A sequence of characters representing human readable text. For example, a component's description is usually this type: 

DisplayName : REG_SZ : Alerter

Using Registry Editor

You can use the Registry Editor to view Registry entries for the various components in SunLink Server. You can also use Registry Editor to modify or add Registry entries.

The Registry Editor application, Regedt32.exe, does not appear in any default folders. It is installed automatically in the %SystemRoot%\system32 folder on Windows NT systems. Click Run on the Start menu or switch to a command prompt and type regedt32.

Connecting to a Remote Registry

To edit the SunLink Server Registry using the Windows NT Registry Editor, you must connect to the SunLink Server system from the Registry Editor of a remote Windows NT computer. To do so, use the Select Computer command in the Registry menu of the Registry Editor.

Connecting to the SunLink Server Registry remotely will result in the display of the HKEY_USERS and HKEY_LOCAL_MACHINE subtrees.

For more information about connecting to a remote Registry, see your Registry Editor Help.


Caution - Caution -

Using the Windows 95 Registry Editor to edit the SunLink Server Registry remotely is not recommended.


Viewing the Registry

Registry Editor displays the subtrees of the Registry. The hierarchical structure that appears in Registry Editor is similar to the hierarchical directory structures of Windows NT Explorer.

Your ability to make changes to the Registry using Registry Editor depends on your access permissions. Generally, you can make the same kinds of changes using Registry Editor as your permissions allow for other administrative tools.

Registry Editor Commands

You can use the mouse or commands to manipulate the windows and panes in the Registry Editor in the same way as in the Windows NT Explorer. For example:

The following table shows some keyboard methods for managing the display of data in each Registry Editor window.

Table A-3 Keyboard Commands for Managing Registry Editor Data Display

Procedure 

Keyboard Action 

Expand one level of a selected Registry key. 

Press Enter. 

Expand all of the levels of the predefined handle in the active Registry window. 

Press CTRL + * 

Expand a branch of a selected Registry key. 

Press the numeric keypad asterisk (*) key. 

Collapse a branch of a selected Registry key. 

Press Enter or - on the numeric keypad. 

The following table lists the policies and their associated SunLink Server Registry keys, including locations, that can be modified using the Windows NT Registry Editor or, in some cases, SunLink Server Manager.

Table A-4 Registry Policies, Keys, and Locations

Policy 

SunLink Server Registry Key 

Alerter Service 

(SYSTEM\Current\ControlSet\Services\Alerter\Parameters)

IncludeMessageHeader

CountNotOnNetworkCache

NotOnNetworkCacheTimeout

Computer Browser Service 

(SYSTEM\CurrentControlSet\Services\Browser\Parameters)

MasterUpdate

BackupUpdate

BackupRecovery

MoreLog

Connected Clients 

(SYSTEM\CurrentControlSet\Services\Netlogon\Parameters)

AutoDisconnect

LogonQuery

QueryDelay

RelogonDelay

File Name Space Mapping 

(SYSTEM\CurrentControlSet\Services\AdvancedServer\FileServiceParameters)

NameSpaceMapping

UniqueSuffixLength

MixedCaseSupport

TruncatedExtensions

MappingSeparator

Netlogon Service 

(SYSTEM\CurrentControlSet\Services\Netlogon\Parameters)

Scripts

Pulse (PDC only)

Update (BDC only)

Randomize (BDC only)

SSIPasswdAge (BDC only)

Server Announcement 

(SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters)

Hidden

SrvAnnounce

LmAnnounce

Solaris Account Mapping 

(SYSTEM\CurrentControlSet\Services\AdvancedServer\UserServiceParameters)

CreateUnixUser ForceUniqueUnixUserAccount NewUserShell SyncUnixHomeDirectory

Solaris File System Integration 

(SYSTEM\CurrentControlSet\Services\AdvancedServer\FileServiceParameters)

IgnoreUnixPermissions

UnixDirectoryCheck

UnixFilePerms

UnixDirectoryPerms

UseUnixLocks

UPS Service 

(SYSTEM\CurrentControlSet\Services\UPS\Parameters)

IgnoreSIGPWR

PowerFailAddress

PowerFailMessage

PowerMessageInterval

Users Alerts 

(SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters)

AccessAlert

ErrorAlert

LogonAlert

Registry Keys and Values

This section describes the SunLink Server Registry keys that are changed during administration. You may want to modify these values directly using the SunLink Server Manager or a Registry Editor. You do not need to be concerned with every key in the SunLink Server Registry; only those keys that you may have reason to change are described. Note that you must stop and then restart the SunLink Server program for most changes to the Registry to take effect.

The SunLink Server Registry keys described in this section are defined in subkeys located in the following path:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

SunLink Server Key Descriptions

The SunLink Server subkey of the SunLink Server Registry contains the following subkeys in the following path:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdvancedServer

The following sections describe the entries contained within those subkeys.

Alert Parameters Entries

The Registry path that contains entries for the SunLink Server Alerter service is as follows:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdvancedServer\AlertParameters

File Service Parameters Entries

The Registry path that contains entries for the SunLink Server file service is as follows:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdvancedServer\FileServiceParameters

Net Administration Parameters Entries

The Registry path that contains entries for the SunLink Server Net Administration is as follows:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdvancedServer\NetAdminParameters

Parameters Entries

The Registry path that contains entries for the SunLink Server Parameters is as follows:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdvancedServer\Parameters

Process Parameters Entries

The Registry path that contains entries for the SunLink Server Process Parameters is as follows:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdvancedServer\ProcessParameters

The following table describes the meaning of the default values.

Table A-5 lmx.srv Processes Default Value Meaning

Client Range 

Min. Sessions per lmx.srv 

Max. Sessions per lmx.srv 

1-19 

12 

20-34 

20 

35-49 

24 

50-84 

28 

85-99 

28 

100-129 

32 

130-179 

36 

180-249 

42 

250-349 

44 

350-499 

10 

50 

500-749 

10 

60 

750-999 

10 

80 

1000+ 

10 

101 

RPC Parameters Entries

The Registry path that contains entries for the SunLink Server RPC Parameters is as follows:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdvancedServer\RpcParameters

Share Parameters Entries

The Registry path that contains entries for the SunLink Server Share Parameters is as follows:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdvancedServer\ShareParameters

User Service Parameters Entries

The Registry path that contains entries for the SunLink Server User Service Parameters is as follows:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdvancedServer\UserServiceParameters

Alerter Service Parameters

The Registry path that contains entries for the SunLink Server Alerter service is as follows:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Alerter\Parameters

Browser Service Parameters

You can use SunLink Server Manager to change the values of all of the following keys. The Registry path that contains entries for the SunLink Server Computer Browser service is as follows:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser\Parameters

EventLog Service Entries

The subkey for EventLog contains at least three subkeys for the three types of logs: Application, Security, and System. These logfile subkeys contain subkeys that define the locations of the related event message files and the supported types of events, as follows:

Each of the three logfile subkeys for the EventLog service can contain the value entries described in this section. The Registry path for these entries is the following, where logfile is System, Application, or Security.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\logfile

These entries are described for informational purposes only. This information is usually maintained by Event Viewer.

The subkeys under a logfile subkey are created by the applications that write events in the related event log. These subkeys contain information specific to the source of an event under the following types of value entries.

Net Logon Service Parameters

The Registry path with entries for the SunLink Server Net Logon service follows:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters

Netrun Service Parameters

The Registry path that contains entries for the SunLink Server Netrun service is as follows:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netrun\Parameters

Replicator Service Entries

The Registry path that contains entries for the SunLink Server Directory Replicator service is as follows:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Replicator\Parameters

UPS Service Parameters Entries

The Registry path that contains entries for the SunLink Server Uninterruptible Power Supply service is as follows:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UPS\Parameters