Configuring and Managing MPE/iX Internet Services (MPE/iX 6.5)

Chapter 7 93
Samba/iX Services
Samba/iX Configuration File Options
Setting Logging Behavior
max log size The max log size option specifies the maximum size in
kilobytes to which log files can grow. The default value
of the maximum log file size is 5000 in kilobytes. If the
file exceeds the specified size, it is renamed by adding
the .old extension.
Example: max log size = 10000 (in kilobytes)
Default: 5000 (in kilobytes)
log file The log file parameter allows you to specify the
pathname of log file used by SMBD and NMBD
processes.
Example: log file = /usr/local/samba/var/log.smb
debug level The debug level parameter allows the debug logging
level to be specified in the Samba/iX configuration file.
This option defines the level of trace messages that you
want to log into the logfile.
The typical range of the debug level can be from 0 to 5.
Large values cause more detailed information to be
logged. Most of these debug levels exist to help users to
debug the server activity.
Example: debug level = 3
Default: debug level = 0
Login/Logout Commands
preexec The preexec parameter allows you to specify a
command to be run whenever the service is connected.
Example: callci /usr/local/samba/lib/tellop
tcon %S %u %m %I
Generates the following example output to the console:
9:41 #J36/50/FROM/MGR.SAMBA/tcon on IPC$ by
MGR.SAMBA from rkm-nt
postexec The postexec parameter allows you to specify a
command to be run whenever the service is
disconnected.
Example:
callci /usr/local/samba/lib/tellop tdis %S %u %m %I
Generates the following example output to the console: 9:41
#J36/70/FROM/MGR.SAMBA/tdis on IPC$by MGR.SAMBA from
rkm-nt