With the SWAT service
With the SWAT service ready to be activated, restart the inetd daemon so it rereads the
inetd.conf file. To do that in Debian, type the following as root user:
# /etc/init.d/inetd restart
The init.d script and xinetd services are the two ways that SWAT services are generally started in Linux. So if you are using a Linux distribution other than Fedora or Debian, look in the /etc/inetd.conf file or /etc/xinetd.d directory (which is used automatically in Fedora), for the location of your SWAT service.
When you have finished this procedure, a daemon process will be listening on your network inter- faces for requests to connect to your SWAT service. You can now use the SWAT program, described in the next section, to configure Samba.
Starting with SWAT
You can run the SWAT program by typing the following URL in your local browser:
http://localhost:901/
TIP
Instead of running SWAT from your local browser, you can run it from another computer
on the network by substituting the server computer's name for localhost. (To
allow computers besides localhost to access the swat service on Fedora systems, you must change or
remove the only_from = 127.0.0.1 line from the /etc/xinetd.d/swat file and restart the
xinetd service.)
The following sections explain how to use SWAT to create your configuration entries (in /etc/samba/smb.conf) and to work with that configuration.