Maintenance Commands srvconfig(1m)
NAME
srvconfig - modifies the PC NetLink lanman.ini configuration
file.
SYNOPSIS
srvconfig [-I instance] [-v] -a section,keyword
srvconfig [-I instance] [-v] -d "section,keyword"
srvconfig [-I instance] [-v] -g "section,keyword"
srvconfig [-I instance] [-v] -i section,keyword
srvconfig [-I instance] [-v] -l section,keyword value
srvconfig [-I instance] [-v] -p
srvconfig [-I instance] [-v] -s "section,keyword=value"
["section,keyword=value" ...]
DESCRIPTION
The srvconfig command is used to display or modify the PC
NetLink configuration file (lanman.ini). This command can
be used interactively or it can be incorporated as part of a
script. PC NetLink does not need to be running to display
or modify the lanman.ini configuration file.
OPTIONS
-I instance
Specifies the PCNL instance name or number. In a multi-
instance environment instance may be specified either on the
command line or by the environment variable PCNL_INSTANCE.
If there is only one instance configured, it is not neces-
sary to specify this argument.
-a
Displays the maximum allowed value for the indicated key-
word.
-d
Displays the default value for the indicated keyword.
-g
Displays the current value for the indicated keyword.
-i
Displays the minimum allowed value for the indicated key-
word.
-l
Indicates whether value is valid for specified keyword.
Returns 0 for valid value, -1 for invalid value. This
option does not return output to the screen. Can be used in
a shell script.
-p
Displays the default values for all possible lanman.ini
file keywords.
-s
Changes the value for the indicated keyword(s)
-v
Turns on debugging for this command.