Dancing the SAMBA: An Introduction to Living with Windows

Installing and Configuring SAMBA

In order to use SAMBA, you must first make sure it's installed on your GNU/Linux machine. Use your distribution's package manager to install samba and swat.

Configuring SAMBA

SAMBA configuration is done via the file /etc/samba/smb.conf (or /etc/smb.conf depending on your distribution). You can edit this file manually, but it is usually much easier to edit it using SWAT.

SWAT (Samba Web Administration Tool) is a web interface for administering SAMBA. After installing SWAT, make sure it's active by adding the following line to your /etc/inetd.conf:

swat  stream  tcp  nowait.400 root /usr/sbin/tcpd  /usr/sbin/swat

Once activated, you can access SWAT at the address http://localhost:901/. SWAT lets you easily modify all of SAMBA's configuration options.

Valid HTML 4.01!Alon Altman