Internet Express for Tru64 UNIX Version 6.8 Administration Guide (14233)

14 Samba File and Print Server Administration
The Samba File and Print Server consists of the following three daemons, each listening on its
own port:
smbd—Provides file and print services to SMB clients, such as Windows 2000, Windows NT,
or LanManager
nmbd—Provides NETBIOS name serving and browsing support
The daemon for the Samba Web Administration Tool (SWAT), described in Section 14.4:
Administering the Samba Server Using the SWAT Program
The Samba server daemons read the smb.conf configuration file (installed in the
/usr/local/samba/lib/ directory) to determine how to authenticate users and how to serve
UNIX files and print queues to PC clients.
14.1 Enabling and Disabling the Samba Server
To control the Samba server, follow these steps:
1. From the Administration utility Main menu, choose Manage Components.
2. From the Manage Components menu, choose Samba Server.
3. From the Samba Server Administration menu, choose Enable/Disable the Samba Server.
The Start/Stop the Samba Server form shows the current status of the Samba server.
4. If the server is currently running, you can stop it by clicking on Disable.
If the server is currently stopped, you can start it by clicking on Enable.
14.2 Options for Modifying the smb.conf Configuration File
There are two methods to modify the smb.conf configuration file:
Use a text editor to modify the file – See Section 14.3: Understanding the smb.conf
Configuration File for a description of the smb.conf file included with Internet Express.
Use the Samba Web Administration Tool (SWAT) – This program allows the Samba
administrator to configure the smb.conf configuration file through a Web browser.
Section 14.4.1: Configuring the Samba Server Using the SWAT Program describes how to
use SWAT.
Note:
Because SWAT has limited functionality and cannot be used to set all options in the
smb.conf file, it might be necessary to edit the file directly.
If you decide to configure Samba by editing the smb.conf file, do not use SWAT, because
SWAT will cause the configuration file to be overwritten, losing any values in smb.conf
that are not among those that SWAT is capable of configuring.
Before modifying the Samba server configuration provided by Internet Express, read the Samba
documentation in /usr/internet/docs/samba and the Samba reference pages (see the
Internet Express Reference Pages).
14.3 Understanding the smb.conf Configuration File
Example 14-1 shows the smb.conf file supplied with Internet Express.
14.1 Enabling and Disabling the Samba Server 223