Index Index for
Section 8
Index Alphabetical
listing for S
Bottom of page Bottom of
page

srvconfig(8)

NAME

srvconfig - Modifies the Advanced Server for UNIX configuration file, lanman.ini.

SYNOPSIS

/usr/sbin/srvconfig [-v] -a section,keyword /usr/sbin/srvconfig [-v] -d section,keyword /usr/sbin/srvconfig [-v] -g section,keyword /usr/sbin/srvconfig [-v] -i section,keyword /usr/sbin/srvconfig [-v] -l section,keyword /usr/sbin/srvconfig [-v] -p /usr/sbin/srvconfig [-v] -a section,keyword=value [section,keyword=value...]

OPTIONS

section The section of the lanman.ini configuration file. Note that the brackets around section headers in the lanman.ini files are not necessary on the srvconfig command line. keyword Within each section of the lanman.ini configuration file there is one keyword for each parameter. For example, the maxfilesize keyword in the [lmxserver] section controls the size limit on files created by clients on the Advanced Server. Note: Not all parameters are configurable in a meaningful way. Some exist only to provide a convenient way to query for ASU information. For example, you would not typically change the value of the version lan_manager parameter, because this is the ASU version number. value This is the value to which the parameter indicated by section,keyword will be set. In the case of the -l option, srvconfig will indicate whether or not value is a valid parameter value. The current value is not changed by this option. -a Displays the maximum value of the indicated keyword. -d Displays the default value of the indicated keyword. -g Displays the current value of the indicated keyword. -i Displays the minimum value of the indicated keyword. -l Indicates whether value is valid for the specified keyword. Returns 0 for valid value, -1 for invalid value. The parameter indicated is not changed. This option does not return output to standard output, but is intended for use in a shell script. -p Displays the default values for all possible lanman.ini file parameters. -s Sets the value of the indicated keyword or keywords. -v Turns on debugging for this command.

DESCRIPTION

The srvconfig command is used to display or modify the contents of the lanman.ini configuration file used by ASU. ASU does not need to be running to display or modify this file. Refer to the Advanced Server for UNIX Installation and Administration guide for more information about the structure of the lanman.ini file, including a complete list of the file sections, keywords, and permissible values for each parameter.

EXAMPLES

To set the maximum number of clients that can connect to ASU to 100, enter: # srvconfig -s server,maxclients=100

FILES

The lanman.ini file is located in the /usr/net/servers/lanman directory.

SEE ALSO

See the Installation and Administration Guide for more information about the structure of the lanman.ini file, including a complete list of the file sections, keywords, and permissible values for each parameter.

Index Index for
Section 8
Index Alphabetical
listing for S
Top of page Top of
page