Red Hat NETSCAPE ENTREPRISE SERVER 6.1 - 08-2002 ADMINISTRATOR Technical Information Page 76

  • Download
  • Add to my manuals
  • Print
  • Page
    / 126
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 75
64 Deploying Samba on IBM Eserver BladeCenter
4.2.2 Using SWAT
The Samba Web Administration Tool (SWAT) allows the remote modification of the smb.conf
configuration file through a Web browser. That means you can configure Samba in a GUI-like
environment. SWAT itself is a small Web server and CGI scripting application, designed to
run from inetd and provides access to the configuration file.
An authorized user with the root password can modify the configuration file via the SWAT
Web pages. The Web pages also have help links next to all configurable options, which is
very useful when making changes.
Before using SWAT, you must check:
1. That /etc/services has the line:
swat 901/tcp
2. That there is a swat file in the /etc/xinetd.d directory and it contains the line:
disable = no
3. And, if you want to access SWAT from another system, that the following line in the swat
file is commented out:
only_from = localhost
If any changes were made to either file, restart xinetd by executing the command:
service xinetd restart
Access to the SWAT service can be controlled through entries in the /etc/hosts.deny and
/etc/hosts.allow files.
To access SWAT, open your favorite Web browser and type in the IP address of your Samba
server appended with port 901:
http://localhost:901
After the SWAT home page is loaded, you will see a window similar to Figure 4-1.
Figure 4-1 Login prompt
Type in the user name and password of the Linux user defined on your Linux server. Click OK
to continue. If the root ID is used, you will see a page similar to Figure 4-2 on page 65.
Note: After any changes are made to the configuration file, the Samba server must be
restarted. Restarting the server is detailed in 4.4, “Starting and stopping the Samba
server” on page 77.
Page view 75
1 2 ... 71 72 73 74 75 76 77 78 79 80 81 ... 125 126

Comments to this Manuals

No comments