Samba is one of those pieces of software that makes life possible within a homogeneous environment. You want Windows, Mac, and Linux to talk to one another, you use Samba. But for some, configuring Samba can be a challenge.

Thankfully, tools are available that can help nearly every skill level with the task. If you’re a newbie, there’s a tool that can help you get Samba configured. If you’re a master, there’s always the command line. But which apps are best suited for you? Let’s take a look and    find out.

1: system-config-samba

This is the GUI tool that all new Samba admins should be using. System-config-samba (Figure A) can be installed onto practically any Linux distribution and is incredibly easy to use. With this tool, you can configure the shares to be handed out, as well as the Samba server settings. The GUI isn’t cluttered with too many bells and whistles to confuse the user, so getting shares added is as simple as clicking the Add button and filling in a few bits of information.


2: Swat

Swat (Figure B) is the original GUI tool for Samba. It’s a Web-based tool that allows you to get much deeper into the configuration of Samba than any other tool. Although newbies can use it, they may quickly become intimidated by the number of options available. Once Swat is installed, you reach it by going to:


Figure B


Configuring Samba-Swat

Samba is a linux software helps to transfer files between a linux box and windows box. Using NFS you can share files between two linux systems, but not with a linux system and windows system. Using WinSCP you can transfer files between linux and windows. But it is very slow and very time consuming. Samba is fast. Samba-swat is a web interface (or samba web administration tool) for samba. Using samba swat, one can configure samba, define shares, configure printers, edit smb.conf parameters, we status of the samba services, stop and restart services, view the current samba configuration and even change passwords and add samba users. This blog post tutorial explains how to install and configure samba swat in centos linux.Install samba swat as
#yum install samba-swatEdit and change the xinetd configuration file for samba
[root@server ~]# cat /etc/xinetd.d/swat
# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
#              to configure your Samba server. To use SWAT, \
#              connect to port 901 with your favorite web browser.
service swat
port            = 901
socket_type     = stream //means tcp based
wait            = no
only_from       = //If not commented can be accessible only from localhost. increase security. or you can add hosts ips.
user            = root //In order to bind privillaged port 901
server          = /usr/sbin/swat
log_on_failure  += USERID
disable         = no        //Change the ‘yes’ to ‘no’.
[root@server ~]#Now restart xinetd service
#service xinetd restart

Take any browser and give following url in address bar.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s