C    The lanman.ini File

This appendix describes the lanman.ini file parameters that you can modify to improve ASU server performance. It also contains tables that indicate the disposition of parameters that in earlier versions were in the lanman.ini file and now are in the ASU registry.

When you install the ASU server, the lanman.ini file contains some default parameter values. Additional parameters and the titles of the sections in which they reside are added when you change the ASU server configuration. Only parameters with default values that have been changed are added to the lanman.ini file. If a parameter is not listed in the file (or is commented out with a semicolon), it is set to its default value.

Before you attempt to change any of the parameters in the lanman.ini file, you should understand the relationship between the entries and the server defaults.

Each server parameter has a default setting. To display and edit default settings, you can use the srvconfig utility, which is provided in the /usr/sbin directory.

You can edit the lanman.ini file to set parameters to values other than the defaults by locating (or adding) the appropriate section title in the file, and then adding the desired parameter=value entry.

The value assigned to any parameter in the lanman.ini file always supersedes the default value for that parameter.

C.1    File Syntax

Within each section of the lanman.ini file, the following parameters are specified:

Follow these steps to change a parameter in the lanman.ini file:

  1. Display the default settings for the server parameters by using the srvconfig command, for example:

    # /usr/sbin/srvconfig -p | more

  2. Set parameter values in the lanman.ini file, for example:

    # /usr/sbin/srvconfig -s "section,parameter=value"

  3. Stop and restart the ASU server.

See srvconfig(8) for more information on the srvconfig command.

C.2    File Parameters

The following tables describe the configurable parameters in the lanman.ini file, grouped according to the section of the file in which they reside.

Note

The lanman.ini file contains additional parameters that are not included in the following tables. The parameters not listed here are for debugging purposes and should not be modified.

C.2.1    server Parameters

The following table lists parameters in the [server] section of the lanman.ini file.

Parameter Description, Value, and Default Setting
listenname

If set, this is the server's name on the network. If not set, the ASU server may receive client connections from the Tru64 UNIX listener on the Tru64 UNIX system name with a .serve extension (such as liberty.serve). The Tru64 UNIX system name can be determined using the uname -n command.

To change the value of the listenname parameter, use the setservername command. See setservername(8) for more information on the setservername command.

Values: Any name of up to 15 ASCII language characters, including letters, numbers, and the following characters: ! # $ % & ( ) - . ^ _ { } ~ ;

Default: none

maxclients

Identifies the maximum number of clients that the ASU server can service. You can increase this number, however the ASU server will only service as many clients as there are ASU licenses.

Default: 200

maxserverprocs

Specifies the maximum number of lmx.srv processes that the ASU server creates to service client requests.

Each client get its own lmx.srv process until the maximum is reached, then the existing lmx.srv processes are assigned to additional clients in a rotating fashion.

Setting maxserverprocs overrides the settings of the registry parameters MinVCPerProc, MaxVCPerProc, and VCDistribution.

By default, the maxserverprocs value is computed from the VCDistribution registry value entry and from the maxclients parameter in the lanman.ini file.

srvservices

The list of keywords for the services that automatically start when the server is started. Because services start in the order in which they appear in the srvservices entry, you must ensure that netlogon service appears before any services that require it.

Default: alerter, netlogon, browser

C.2.2    workstation Parameters

The following table lists parameters in the [workstation] section of the lanman.ini file.

Parameter Description, Value, and Default Setting
domain

The name of the domain that includes the server. Values: Any name of up to 15 ASCII language characters, including letters, numbers, and the following characters: ! # $ % & ( ) - . ^ _ { } ~ ;

Default: domain

C.2.3    lmxserver Parameters

The following table lists parameters in the [lmxserver] section of the lanman.ini file.

Parameter Description, Value, and Default Setting
allowtakeunixownership

Specifies whether or not a domain user account that is a member of either the Domain Admins or Administrators group can take ownership of a UNIX file, regardless of the UNIX ownership and permissions set for the file.

The IgnoreUnixPermissions registry entry must be disabled (set to 0) for this parameter to be effective.

Values: yes or no

Default: yes (allow taking ownership)

anncmailslot

The name of the mail slot used for periodic server announcements.

Values: A pathname of up to a maximum of 256 characters.

Default: \\*\MAILSLOT\LANMAN

Note that backslashes must be doubled on input or else the entire input line must be enclosed in single quotation marks. (Type text\\text or text\text to enter text with a single backslash.)

appsources

The names of the modules that can write to the application log file.

Default: the server initializes the value of this parameter at startup

blobchecklocks

Specifies whether or not the ASU server will verify that no read or store is done to a blob file without a corresponding read or write lock.

Values: yes or no

Default: no

countbeans

Specifies whether or not transaction statistics are gathered.

Values: yes or no

Default: Yes (gather transaction statistics)

country

The country code for server-generated messages.

Values:

Country      Code	     Country         Code
 
Asia         099      Latin America   003
Australia    061      Netherlands     031
Belgium      032      Norway          047
Canada	      002      Portugal        351
Denmark      045      Spain           034
Finland      358      Sweden          046
France	       033     Switzerland     041
Germany      049      United Kingdom  044
Italy        039      United States   001
Japan        081

Default: 001 (United States)

debugumask

Controls user access to debug log and crash files. The permissions you set are similar to the octal settings used by the chmod command.

Default: 0600 (Read and Write for the owner)

direxists

Specifies the integer access denied error code that the ASU server returns to a client when a client attempts to create a directory that exists.

Values: 5 or 80 (older applications might require 80)

Default: 5

enumtimeout

Specifies a timeout period, in seconds, for requests made of the server. The master controller process, lmx.ctrl, polls the server processes, lmx.srv, for enumeration data such as the number of sessions, open files, and so on. If one of the lmx.srv processes fails to respond, the enumtimeout parameter is used to determine how long the controller will wait for a response before moving on to the next server process.

Values: 10 seconds to 1200 seconds

Default: 300 seconds

lang

Specifies the character set that the ASU server uses to process client requests.

The ASU server supports the Tru64 UNIX locales listed in the l10n_intro reference page except for Japanese SJIS and Traditional Chinese. See l10n_intro(5) for more information on the supported locales.

Default: en_US.ISO8859-1 (U.S. English)

listenextension

The extension that the Tru64 UNIX system Listener program applies to the name of the server computer by default. This parameter is ignored if the listenname parameter in the [server] section is set.

Values: 0-13 characters and a null value are acceptable.

Default: .SERVE

listennamechk

If set to yes, this parameter forces any name specified with the listenname parameter to be different from the Tru64 UNIX system name or to be the Tru64 UNIX system name with a .serve extension in order to avoid name conflicts with the Tru64 UNIX Listener.

Values: yes or no

Default: no

listenqlen

Maximum number of outstanding client connection requests. If the server supports numerous clients that simultaneously attempt to connect to the server and some get refused, raise the value of this parameter.

Only applicable if the listenname= parameter is used.

Values: 1 - unlimited

Default: 3 requests

maxfilesize

The maximum file size, in KB, that the Tru64 UNIX system redirector will allow a "local Tru64 UNIX user" to create on a local system.

Values: 100 - unlimited

Default: 20000 KB

msdoscodepage

Sets the MS-DOS code page that the ASU server uses when responding to a client's request. Set this parameter to correspond to the locale to which the lang parameter is set, as described in the following list.

The first list item is the lang parameter, followed by the character set, then the value of the msdoscodepage parameter:

Western European, ISO8859-1, cp850,
(however when using the en_US.ISO8859-1 locale, the default is cp437)
Eastern European, ISO8859-2, cp852
Baltic, ISO8859-4, cp775
Cyrillic, ISO8859-5, cp866
Greek, ISO8856-7, cp737
Hebrew, O8859-8, cp862
Korean, C5601, cp949
Korean, ckorean, cp949
Korean, cKR, cp949
Turkish, O8859-9, cp857
Japanese Shift-JIS, SJIS, SJIS
Japanese DEC Kanji, deckanji, SJIS
Japanese EUC, eucJP, SJIS
Japanese Super DEC Kanji, sdeckanji, SJIS
Thai, TACTIS, cp874
Simplified Chinese, dechanzi, dechanzi
 
 

msgforward

Specifies whether or not the ASU server implements message forwarding between clients. It is recommended that you do not implement message forwarding.

Values: yes or no

Default: no (do not forward messages)

netmsgwait

The interval, in seconds, that the server waits for a response when it sends a message that requires one.

Values: 0 - unlimited

Default: 30 seconds

network

The network device names and NetBIOS name-passing type for the network(s) the server should use.

Values: Sets of four items separated by commas, each set of four separated from the next by a space. The following four items are in each set:

  1. The device name for virtual circuit access.

  2. The device name for datagram network access.

  3. A digit identifying the NetBIOS interface convention used by the previous two devices. There are three conventions compiled into the server:

    • 0 = NetBIOS over NetBEUI

    • 1 = NetBIOS over TCP/IP

  4. The name of the transport provider, as returned by the nlsprovider system call. (For networks not configured to accept incoming connections through the Tru64 UNIX system Listener program, this can be any arbitrary string.)

overrideunixprotection

Allows the deletion of a file by users who are in the same group as the owner of the file, providing that the Tru64 UNIX directory permission allows it.

Values: yes or no

Default: no (only the owner of a file can delete it)

prebinduxredir

Controls the name that the net command binds to when it uses the Tru64 UNIX system redirector (uxredir). If this parameter is set to yes, the ASU server prebinds a NetBIOS name that is used by all net commands. Because this name is prebound, the net command does not need to bind its own name, resulting in increased performance. If this parameter is set to no, then each net command uses its own unique name resulting in slower performance.

Values: yes or no

Default: yes (use prebound NetBIOS name)

rcsdiff

Enables rcsdiff application specific code.

Values: yes or no

Default: no (disabled)

readonlydir

Specifies whether or not Windows 2000 clients can write into a Tru64 UNIX directory when the ReadOnly attribute is set.

Values: yes or no

Default: yes (enforce the ReadOnly attribute on Tru64 UNIX directories)

secsources

The names of the modules that can write to the security log.

Default: The server initializes the value of this parameter at startup.

sigaltstack

Processes unexpected signals (such as a segmentation fault) in ASU server processes on an alternate stack.

You need to enable this parameter only if you see stack overflow messages for lmx processes in the console log.

Values: yes or no

Default: no (disabled)

stacksize

The size of the stack, in bytes, for each task internal to the server.

Values:12000 - unlimited

Default: 40000 bytes

syssources

The names of the modules that can write to the system log.

Default: The server initializes the value of this parameter at startup.

C.3    Mappings of lanman.ini Parameters to Registry Entries

The following tables list the parameters in the lanman.ini file that were moved to the ASU registry, remained in the lanman.ini file, or are obsolete. The parameters that were moved to the ASU registry are listed with their registry entry name.

The lanman.ini file parameters are listed according to the sections in which they reside in the file.

C.3.1    server Parameters

The following table lists the status of the server parameters.

Parameter ASU Registry Path (\SYSTEM\CurrentControlSetServices) Registry Entry Name
accessalert LanmanServer\Parameters AccessAlert
alertnames Alerter\Parameters AlertNames
autodisconnect LanmanServer\Parameters AutoDisconnect
enablesoftcompat AdvancedServer\FileServiceParameters EnableSoftCompat
enable_soft_file_ext AdvancedServer\FileServiceParameters EnableSoftFileExtensions
erroralert LanmanServer\Parameters ErrorAlert
listenname Control\ComputerName\ComputerName ComputerName
logonalert LanmanServer\Parameters LogonAlert
maxauditlog EventLog\Security MaxSize
maxclients None (lanman.ini file)  
maxerrlog EventLog\System MaxSize
srvannounce LanmanServer\Parameters SrvAnnounce
srvcomment LanmanServer\Parameters SrvComment
srvhidden LanmanServer\Parameters Hidden
srvservices None (lanman.ini file)  
userpath LanmanServer\Parameters UserPath

C.3.2    workstation Parameters

The following table lists the status of the workstation parameters.

Parameter ASU Registry Path (\SYSTEM\CurrentControlSetServices) Registry Entry Name
domain None (lanman.ini file)  

C.3.3    uidrules Parameters

The following table lists the status of the uidrules parameters.

Parameter ASU Registry Path (\SYSTEM\CurrentControlSetServices) Registry Entry Name
exclude AdvancedServer\UserServiceParameters Exclude
forceunique AdvancedServer\UserServiceParameters ForceUniqueUnixUserAccount
maxuid AdvancedServer\UserServiceParameters MaxUnixUid
minuid AdvancedServer\UserServiceParameters MinUnixUid
usrcomment AdvancedServer\UserServiceParameters UserComment

C.3.4    netlogon Parameters

The following table lists the status of the netlogon parameters.

Parameter ASU Registry Path (\SYSTEM\CurrentControlSetServices) Registry Entry Name
logonquery Netlogon\Parameters LogonQuery
maxclisess AdvancedServer\ProcessParameters NumCLIENT_SESSION
maxquery None (obsolete)  
maxsrvsess AdvancedServer\ProcessParameters NumSERVER_SESSION
pulse Netlogon\Parameters Pulse
querydelay Netlogon\Parameters QueryDelay
randomize Netlogon\Parameters Randomize
relogondelay Netlogon\Parameters RelogonDelay
scripts Netlogon\Parameters Scripts
ssipasswdage Netlogon\Parameters SSIPasswdAge
update Netlogon\Parameters Update

C.3.5    lmxserver Parameters

The following table lists the status of the lmxserver parameters.

Parameter ASU Registry Path (\SYSTEM\CurrentControlSetServices) Registry Entry Name
aclfile None (obsolete)  
aclgroup None (obsolete)  
aclowner None (obsolete)  
aclperms None (obsolete)  
admingroupid AdvancedServer\NetAdminParameters NetAdminGroupName
adminpath AdvancedServer\NetAdminParameters NetAdminPath
adminuserid AdvancedServer\NetAdminParameters NetAdminUserName
alertadmin None (obsolete)  
alerterrorlog None (obsolete)  
alertmessage None (obsolete)  
alerton None (obsolete)  
alertprinting None (obsolete)  
alertuser None (obsolete)  
anncmailslot None (lanman.ini file)  
appretention Eventlog\Application Retention
appsources Eventlog\Application Sources
auditretention Eventlog\Security Retention
blobmapping None (obsolete)  
byemessage AdvancedServer\Parameters SendByeMessage
cntsharecache None (obsolete)  
cntsharereads AdvancedServer\ShareParameters ShareReadCount
controllock None (obsolete)  
coreok AdvancedServer\ProcessParameters CoreOK
country None (lanman.ini file)  
cpipgroup None (obsolete)  
cpipname None (obsolete)  
cpipowner None (obsolete)  
cpipperms None (obsolete)  
creatunixuser AdvancedServer\UserServiceParameters CreateUnixUser
dirperms AdvancedServer\FileServiceParameters UnixDirectoryPerms
eafileprefix AdvancedServer\FileServiceParameters EAFilePrefix
errorretention Eventlog\System Retention
errsources None (obsolete)  
feabufsize AdvancedServer\FileServiceParameters MaxEASize
fileflush AdvancedServer\FileServiceParameters ForceFileFlush
fileperms AdvancedServer\FileServiceParameters UnixFilePerms
forcediracl AdvancedServer\FileServiceParameters ForceDirectoryAcl
forcefileacl AdvancedServer\FileServiceParameters ForceFileAcl
gcbuffer AdvancedServer\Parameters SizeGcBufferPoolInKB
getapipe None (lanman.ini file)  
groupadd None (obsolete)  
groupdel None (obsolete)  
grpupdate AdvancedServer\UserServiceParameters GroupUpdateTime
hashsize AdvancedServer\ProcessParameters NumHashTables
ignoresigpwr UPS\Parameters IgnoreSIGPWR
ipctries AdvancedServer\Parameters MaxIpcTryCount
keepadmshares AdvancedServer\ShareParameters KeepAdministrativeShares
listenextension None (lanman.ini file)  
listennamechk None (lanman.ini file)  
listenqlen None (lanman.ini file)  
lmaddonpath None (lanman.ini file)  
lmxsrv None (obsolete)  
lmxtimesource None (obsolete)  
locale None (obsolete)  
locknap AdvancedServer\ProcessParameters LockNapInMSec
lsafile None (obsolete)  
lsagroup None (obsolete)  
lsaowner None (obsolete)  
lsaperms None (obsolete)  
mailslotgroup None (obsolete)  
mailslothold AdvancedServer\Parameters MaxMailslotReadTime
mailslotowner None (obsolete)  
mailslotperms None (obsolete)  
maxadminoutput None (obsolete)  
maxapplog EventLog\Application MaxSize
maxdirbufsize AdvancedServer\Parameters MaxDirectoryBufferSize
maxfilesize AdvancedServer\FileServiceParameters MaxFileSizeInKB
maxlocknap AdvancedServer\ProcessParameters MaxLockTimeInSeconds
maxmsdepth None (obsolete)  
maxmsgsize AdvancedServer\Parameters MaxMessageSize
maxmux None (obsolete)  
maxopenfiles None (obsolete)  
maxrawsize AdvancedServer\Parameters MaxRawSize
maxvcperproc AdvancedServer\ProcessParameters MaxVCPerProc
maxsvcwait AdvancedServer\Parameters MaxServiceWaitTime
maxvcs AdvancedServer\ProcessParameters MaxVCs
memorymap AdvancedServer\FileServiceParameters MemoryMapFiles
minsmbworkers AvancedServer\ProcessParameters MinSmbWorkerTasks
minvcperproc AdvancedServer\ProcessParameters MinVCPerProc
msdirgroup None (obsolete)  
msdirname None (obsolete)  
msdirowner None (obsolete)  
msdirperms None (obsolete)  
msgforward None (lanman.ini file)  
msgheader Alerter\Parameters IncludeMessageHeader
nativelm AvancedServer\Parameters NativeLM
nativeos AvancedServer\Parameters NativeOS
netaddonpath None (lanman.ini file)  
nethelpfile None (lanman.ini file)  
nethmsgfile None (obsolete)  
netmsgwait None (lanman.ini file)  
network None (lanman.ini file)  
newusershell AdvancedServer\UserServiceParameters NewUserShell
nfslocks AdvancedServer\FileServiceParameters UseNfsLocks
nonexistusers Alerter\Parameters CountNotOnNetworkCache
nosendtime Alerter\Parameters NotOnNetworkCacheTimeout
numnetsndbufs None (obsolete)  
oplocktimeout AdvancedServer\FileServiceParameters OplockTimeout
packageid None (obsolete)  
passmgmt None (obsolete)  
polltime None (obsolete)  
prebinduxredir None (lanman.ini file)  
qnamelen AdvancedServer\Parameters MaxPrintQueueNameLength
qsched AdvancedServer\Parameters CheckPrintQueueInMinutes
queuealloc None (obsolete)  
relmajor (\SOFTWARE\Microsoft\LanmanServer CurrentVersion (and elsewhere)) MajorVersion
relminor (\SOFTWARE\Microsoft\LanmanServer CurrentVersion (and elsewhere)) MinorVersion
samdir None (obsolete)  
samgroup None (obsolete)  
samowner None (obsolete)  
samperms None (obsolete)  
sbstelladmin AdvancedServer\AlertParameters AlertAdminOnLicenseOverflow
sbstelluser AdvancedServer\AlertParameters AlertUserOnLicenseOverflow
schedlogfilename None (obsolete)  
secsources Eventlog\Security Sources
sharefile None (obsolete)  
sharegroup None (obsolete)  
sharemkdir AdvancedServer\ShareParameters MakeUnixDirectoriesOnShare
shareowner None (obsolete)  
shareperms None (obsolete)  
shmgroup None (obsolete)  
shmowner None (obsolete)  
shmowner None (obsolete)  
spareserver AdvancedServer\ProcessParameters KeepSpareServer
sparesrvtime AdvancedServer\ProcessParameters SpareServerTime
spipe None (obsolete)  
srvstathelpfile None (lanman.ini file)  
stacksize None (lanman.ini file)  
startscript None (obsolete)  
stoponcore AdvancedServer\ProcessParameters StopOnCore
svcinit None (obsolete)  
svcscript None (obsolete)  
syncaclfile AdvancedServer\FileServiceParameters SyncAclFileOnWrite
synchomedir AdvancedServer\UserServiceParameters SyncUnixHomeDirectory
syssources Eventlog\System Sources
terminator None (obsolete)  
tokensidlimit None (obsolete)  
unixdirchk AdvancedServer\FileServiceParameters UnixDirectoryCheck
unixlocks AdvancedServer\FileServiceParameters UseUnixLocks
useoplock AdvancedServer\FileServiceParameters UseOplocks
userremark AdvancedServer\UserServiceParameters UserComment
ustructs AdvancedServer\ProcessParameters NumUStructs
uxclosecount AdvancedServer\FileServiceParameters UnixCloseCount
vcdistribution AdvancedServer\ProcessParameters VCDistribution

C.3.6    ups Parameters

The following table lists that status of the ups parameters.

Parameter ASU Registry Path (\SYSTEM\CurrentControlSetServices) Registry Entry Name
poweraddr UPS\Parameters PowerFailAddress
powermessage UPS\Parameters PowerFailMessage
powertime UPS\Parameters PowerMessageInterval

C.3.7    replicator Parameters

The following table lists the status of the replicator parameters.

Parameter ASU Registry Path (\SYSTEM\CurrentControlSetServices) Registry Entry Name
exportlist Replicator\Parameters ExportList
exportpath Replicator\Parameters ExportPath
guardtime Replicator\Parameters GuardTime
importlist Replicator\Parameters ImportList
importpath Replicator\Parameters ImportPath
interval Replicator\Parameters Interval
logon Replicator ObjectName
password None (obsolete)  
pulse Replicator\Parameters Pulse
random Replicator\Parameters Random
repl_dirgroup Replicator\Parameters UnixDirectoryGroup
repl_dirowner Replicator\Parameters UnixDirectoryOwner
repl_dirperms None (obsolete)  
repl_filegroup Replicator\Parameters UnixFileGroup
repl_fileowner Replicator\Parameters UnixFileOwner
repl_fileperms None (obsolete)  
replicate Replicator\Parameters Replicate
tryuser Replicator\Parameters TryUser

C.3.8    fsi Parameters

The following table lists the status of the fsi parameters.

Parameter ASU Registry Path (\SYSTEM\CurrentControlSetServices) Registry Entry Name
closeinodecnt None (obsolete)  
fsaddonpath None (lanman.ini file)  
fslibname None (lanman.ini file)  
fslibpath None (lanman.ini file)  
fsmap None (lanman.ini file)  
fsnosupport    
maxfstypes None (obsolete)  
nfsroot AdvancedServer\FileServiceParameters RootOwnsFilesCreatedOnNFS
ntfs AdvancedServer\FileServiceParameters ReportNTFS
remotemounts    

C.3.9    psi Parameters

The following table lists the status of the psi parameters.

Parameter ASU Registry Path (\SYSTEM\CurrentControlSetServices) Registry Entry Name
maxspoolers None (obsolete)  
psaddonpath None (lanman.ini file)  

C.3.10    version Parameters

The following table lists the status of the version parameters.

Parameter ASU Registry Path (\SYSTEM\CurrentControlSetServices) Registry Entry Name
lan_manager None (obsolete)  

C.3.11    netrun Parameters

The following table lists the status of the netrun parameters.

Parameter ASU Registry Path (\SYSTEM\CurrentControlSetServices) Registry Entry Name
maxruns NetRun\Parameters MaxRuns
runpath NetRun\Parameters RunPath

C.3.12    browser Parameters

The following table lists the status of the browser parameters.

Parameter ASU Registry Path (\SYSTEM\CurrentControlSetServices) Registry Entry Name
backuprecovery Browser\Parameters BackupRecovery
backupupdate Browser\Parameters BackupUpdate
lmannounce LanmanServer\Parameters LmAnnounce
masterupdate Browser\Parameters MasterUpdate
morelog Browser\Parameters MoreLog