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:
•
•
•The daemon for the Samba Web Administration Tool (SWAT), described in Section : 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.
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.
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 : 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 : 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).
Understanding the smb.conf Configuration File
Example 7 shows the smb.conf file supplied with Internet Express.