The functions in the Configuration category retrieve information from the lanman.ini file.
The functions in the Configuration category are as follows:
|
Function |
Description |
|
Retrieves the value of a single specified entry for a particular component of the lanman.ini file on the local or on a remote computer. |
|
|
Retrieves all the configuration information for a given component on the lanman.ini file in a local or a remote computer. |
The lanman.ini file is an ASCII file that together with the Advanced Server Registry contains configuration information for Advanced Server services as well as network configuration information for user-defined services and applications. It consists of component lines, entry lines, and comment lines, in the following format:
Component lines mark the start of a group of information, in this form: [component name]
Entry (or parameter) lines contain a parameter and a value, in this form: entry=value
The entry value can consist of any text. Configuration API functions do not process the text although they do remove leading and trailing spaces. Interpretation of the values is left to the caller. If an entry appears several times in a single component, NetConfigGetAll2 returns each instance; NetConfigGet2 returns only the first instance. Using the same entry name in different components does not affect the data returned by NetConfigGet2. Comment lines are any blank lines or lines that have a semicolon (;) as the first non-blank character.
For a discussion of the servers lanman.ini file, see Advanced Server Administration.
Note The lanman.ini file contains default values for network components. These values may not reflect actual values passed to a network service. If you notice inconsistencies between lanman.ini file entries and actual service values, examine how you have defined these service values within your application. To maintain consistency, call NetConfigGetAll2 and examine the returned values before setting new parameter values for a given component.