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 application. 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 |