Samba Part II
The Samba program Swat offers easy administration of the Samba server via a web-browser.
First you have to add the entry
After editing
/etc/services and
/etc/inetd.conf you send a so-called HUP signal to the
process:
Now you can use Swat for the first time. Start a web browser and visit the site
http://localhost:901/.
You do not start Swat as
any usual program; this service has to be executed as a system job: The very quick installation is explained as follows:
Installation
swat 901/tcp
in the file /etc/services. The number 901 specifies the
port Swat uses.
You should add the entry in the proper line.
If you put it somewhere else it would work, but later you will find it again much faster.
Next you need an entry in the file
/etc/inetd.conf. There you add:
swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat
The sixth entry is the path to the executable.
>> killall -1 inetd
This ends and restarts the program at once. The restart forces the use of the changed configuration files; a reboot is not necessary.
The start page of Swat appears:
Welcome to SWAT!Please choose a configuration action using one of the above buttonsDocumentation.... |
Attention! Before you start to configure samba via Swat you should
know that Swat overwrites all comments, include and copy
entries.
You should make a backup of smb.conf before you go any further.
Software
Next, we present a few nice tools which make the work with Samba easier.:
Gnomba
Gnomba (Gnome-Samba) offers a M$Win like network window for Linux, using GTK and Gnome:
In the tree view, you get the list of all available computers and their resources: http://gnomba.darkcorner.net/
smbfs
Until version 2.0, the program Sambamount was not a part of
the samba package. This program allows the Linux system to mount
the directories that are offered by samba (like NFS between Un*x
systems).
Smbf is a kernel patch that works with kernel 2.2 and
higher
You get it at
http://samba.sernet.de/linux-lan/
A quick guide for the use of Sambamount can be found at:
http://www.pro-linux.de/kurztips/2.html
XSMBrowser
XSMBrowser also offers a network window; this time it is programmed in TCL/TK.
It is not as well designed as Gnomba, but it can be installed faster.

The program is already at version number 2.2.x and is stable:
http://www.public.iastate.edu/~chadspen/
GTKSamba
GTKSamba is not an additional network window, but does something completely different.
This program offers a comfortable frontend to configure samba.
It reads and edits the smb.conf. It does not support all options of samba because it is
still in development. For the not supported options, you can edit the file in a text mode. You find it at:
http://www.open-systems.com/gtksamba.html
gsmbstatus
Gsmbstatus is in deep development. This program shows a list of all offered samba services.
http://www.plum.de/~mg/
LinNeighborhood
LinNeighborhood is a small GUI program which offers a list of all samba computers
on the network and also has the ability to mount a samba directory with a mouse click.
http://www.bnro.de/~schmidjo/
Links:
Homepage Samba: http://www.samba.org
Homepage Gnomba: http://gnomba.darkcorner.net/
Homepage smbfs: http://samba.sernet.de/linux-lan/
Hints to smbfs: http://www.pro-linux.de/kurztips/2.html
Homepage XMSBrowser: http://www.public.iastate.edu/~chadspen/
Homepage GTKSamba: http://www.open-systems.com/gtksamba.html
Homepage LinNeighborhood: http://www.bnro.de/~schmidjo/
Talkback Area
Enter Own Comment