Configuring and Managing MPE/iX Internet Services (August 2002)

Chapter 7
Samba for MPE/iX Services
Samba for MPE/iX Configuration File Options
86
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
Name Resolve Order
In Samba version 2.0.7 for MPE/iX, the name resolve order has been made user selectable. The resolution can
be done in several different ways: broadcast, lmhosts, DNS lookup, WINS.
name resolve order The order in which the names need to be resolved can be specified as
shown:
Example: name resolve order = lmhosts bcast
The samp-lmhosts file is provided in /usr/local/samba/lib directory.
samp-lmhosts file looks like: 12.34.56.78 mpexl/cup.hp.com
Default: lmhosts host WINS bcast
Global Printer Service Options
The global printer service options allows you to specify the location of the printcap, printer command
parameter used by Samba for MPE/iX.
The following global printer configuration options are supported for use by HP:
load printers The load printers parameter is used in conjunction with printcap file and
[printers] section. It is a boolean variable that controls whether all printers
in the printcap file will be loaded for browsing.
If the load printers parameter is set to true, all printers defined in the
printcap file will be loaded for browsing by default.
Example: load printers = yes
Default: load printer = no
printcap name The printcap name option specifies the location of the printcap. Samba
for MPE/iX uses the printcap to determine all printers available on the
system if the general
[printers] service is used instead of defining each
printer in its own service.
Example: printcap name = /usr/local/samba/lib/printcap