Home arrow Site Administration arrow Page 6 - Dancing The Samba (part 2)

Keeping It Simple - Administration

In addition to its core component, Samba comes with a bunch ofpretty powerful ancillary utilities: an SMB client, an SMB filesystemmounter, a backup tool, and a Web-based administration utility. Find outhow you can use them, inside.

TABLE OF CONTENTS:
  1. Dancing The Samba (part 2)
  2. What's In A Name?
  3. Making Conversation
  4. Mounting Up
  5. Backing Up
  6. Keeping It Simple
  7. Working The Web
By: icarus, (c) Melonfire
Rating: starstarstarstarstar / 8
October 22, 2002

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
If you're the kind of person who finds it hard to deal with text files, Samba comes with a graphical, browser-based interface that helps you configure the software without resorting to manually editing configuration files. This tool, affectionately known as SWAT (Samba Web Administration Tool), provides an easy-to-use graphical interface to the numerous configuration directives available in the "smb.conf" file.

Although the "swat" binary is installed as part of the standard Samba installation process, and is typically located at /usr/local/samba/bin/swat, you need to jump through a couple more hoops in order to get it running. Since SWAT usually runs on port 901, the first hoop involves editing the "inetd" daemon's configuration files to let it know about this port. Pop open your "inetd" services file (usually /etc/services) and add the following line to it:
swat 901/tcp
Next, tell "inetd" a little bit more about the service that will be running on that port, in /etc/inetd.conf:
swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat
Restart the "inetd" server and try browsing to the URL
http://olympus:901/
where "olympus" is the name of the server Samba has been installed on.

After entering the administrator user name and password, you should be rewarded with the SWAT opening screen, which looks like this:



You can now use the point-and-click interface to set up, edit and remove shares; define privilege levels and permissions; control name mangling and perform other common tasks. SWAT also includes context-sensitive help for each configuration option available in Samba, so that you have an easy way to refer to the meanings of the various directives. It's quick, reliable and relatively pain-free...and infinitely simpler than using Vi!

SWAT isn't the only GUI to Samba, however - you should also take a look at Komba, a KDE variant and SambaLink/Q, a QT-based alternative (http://www.spanware.com/linkq/sambalinkq.html)

 
 
>>> More Site Administration Articles          >>> More By icarus, (c) Melonfire
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

SITE ADMINISTRATION ARTICLES

- Coding: Not Just for Developers
- To Support or Not Support IE?
- Administration: Networking OSX and Win 7
- DotNetNuke Gets Social
- Integrating MailChimp with Joomla: Creating ...
- Integrating MailChimp with Joomla: List Mana...
- Integrating MailChimp with Joomla: Building ...
- Integrating MailChimp with Joomla
- More Top WordPress Plugins for Social Media
- Optimizing Security: SSH Public Key Authenti...
- Patches and Rejects in Software Configuratio...
- Configuring a CVS Server
- Managing Code and Teams for Cross-Platform S...
- Software Configuration Management
- Back Up a Joomla Site with Akeeba Backup

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: