Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No SWAT

Status
Not open for further replies.

HebbeLille

Technical User
Nov 25, 2002
35
SE
Hi,

I'm just curious how it is to use SWAT to configure samba, however, I can't manage to get it up and running (SWAT that is, samba is running perfectly).

I'm using Red Hat 8.0, and have just installed the samba-package delievered. I have checked that the line "swat tcp/901..." exist in the /etc/services file.

Fireing up the browser, and pointing to localhost:901, I get the message that its not available....

Any ideas? Do I need to download anything in addition? I can't find any "swat" files on the computer...

Helge
--xx--
 
Have you checked your hosts allow and hosts deny files at all?
I am not sure of your Linux experience but the hosts.allow and hosts.deny files are located in /etc and you must allow the clients/subnets that you wish to connect to the server in the hosts.allow. Ensure that the hosts.deny is not denying access at all.
Try adding the entry ALL:ALL in the hosts.allow file and see if you can then connect to SWAT. This is very bad practice as it allows all clients access to all services on the samba box but it will confirm if this is the problem. If this resolves the issue then look at putting an entry in the hosts.allow file that only allows the clients you want access to the service and remove the all:all entry. Hope this helps you.
 
I have Redhat 8.0 installed at home, and also have samba running. I just logged in to my Redhat machine and did an "rpm -qa | grep swat" to see if swat was installed, and lo and behold it isn't. It may be the same case with you. It seems that Redhat 8.0 doesn't install SWAT, and I don't think it's part of the installation. If I remember, I had only Webmin available and not swat. I may be wrong though
 
robertomason,
SWAT is a part of RedHat 8.0, you probably didn't choose to install it though.

HebbeLille,
First make sure that you have the package. It's name is "[tt]samba-swat[/tt]", so "[tt]rpm -q samba-swat[/tt]" should tell you.
SWAT runs from xinetd, so check your [tt]/etc/xinetd.d/swat[/tt] file and make sure that the line "[tt]disable = no[/tt]" is in there. //Daniel
 
Webmin can also be good for configuring samba.
Presume it also works in RH8.x
ß
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top