1748162 Members
3825 Online
108758 Solutions
New Discussion юеВ

Re: SWAT for linux

 
avizen9
Esteemed Contributor

SWAT for linux

Hello
i am having linux ES release 4, i had configured samba and its working fine, i am little confused for SWAT.

just wondering SWAT is must for samba? currently samba is working fine it mean SWAT is also there in my server,

appriciate your help here, thanks,
7 REPLIES 7
avizen9
Esteemed Contributor

Re: SWAT for linux


additional info,
rpm -qa will give me below result.

samba-common-3.0.28-0.el4.9
samba-client-3.0.28-0.el4.9
system-config-samba-1.2.21-1.el4.1
samba-3.0.28-0.el4.9
Nuwan Alwis
Valued Contributor

Re: SWAT for linux

Hi Avizen,
SAMBA SWAT is not a must. its just a nice to have tool as a linux admin. it will help you to admin smb shares through the web browser.
1)This does not includes in default SAMBA installation so you need to install it separately.

2)once installed it can be access through port 901/tcp on your web browser.

for more info.
http://kbase.redhat.com/faq/docs/DOC-2377;jsessionid=189534733F381698CE98A70F0B8F80BF.ab46478d

Good Luck...!
Taifur
Respected Contributor

Re: SWAT for linux

Hi Avizen9,

SWAT is must need for samba.
SWAT, Samba's web based configuration tool enables you configure your smb.conf file without you needing to remember all the formatting. Each SWAT screen is actually a form that covers a separate section of the smb.conf file into which you fill in the desired parameters.
You must always remember that SWAT edits the smb.conf file but also strips out any comments you may have manually entered into it beforehand. The original Samba smb.conf file has many worthwhile comments in it, you should save a copy as a reference before proceeding with SWAT. For example, you could save the original file with the name /etc/samba/smb.conf.original as in:

[root@bigboy tmp]# cp /etc/samba/smb.conf /etc/samba/smb.conf.original
As you can see, using SWAT requires some understanding of the smb.conf file parameters because it eliminates these comments. Become familiar with the most important options in this file before proceeding with SWAT.

SWAT doesn't encrypt your login password. Because this could be a security concern in a corporate environment you might want to create a Samba administrator user that has no root privileges or only enable SWAT access from the GUI console or localhost

Pls check below link for details,

http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch10_:_Windows,_Linux,_and_Samba

If it helps , pls assign point.

Rgds//
Taifur
Ivan Ferreira
Honored Contributor

Re: SWAT for linux

>> Just wondering SWAT is must for samba?

Short answer, NO. You don't need SWAT, and depending of how do you like to do the things, in my case, all using command line tools and the vi editor, it's your choise to use it or not.

You have another options, like webmin. But as long as you depend on a GUI tool to configure your system, probably you will have more problems diagnosing and resolving problems.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
avizen9
Esteemed Contributor

Re: SWAT for linux

rpm -qa samba will give me below result.

samba-common-3.0.28-0.el4.9
samba-client-3.0.28-0.el4.9
system-config-samba-1.2.21-1.el4.1
samba-3.0.28-0.el4.9

rpm -qa | grep swat

will show nothing mean no swat exist in my server correct?
Nido
Trusted Contributor

Re: SWAT for linux

Hi,

I can't describe much better than the following URL:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/SWAT.html

Simple answer would be since swat connects to port 901; it should have entry in xinetd file.

Thanks,
" Let Villagers Be Happy!! "
dirk dierickx
Honored Contributor

Re: SWAT for linux

swat is not a must, but it is a nice to have. there are other ways of editing the samba config file outside of swat, ofcourse using vi or whatever your editor de jour is. but for example webmin also has a very good samba config section or the gadmintools for samba.

http://gadmintools.flippedweb.com/index.php?option=com_content&task=view&id=16&Itemid=30

http://doxfer.com/Webmin/SambaWindowsFileSharing