Click to See Complete Forum and Search --> : SWAT


alexlui
11-04-2001, 01:56 PM
Hello guys,

I have Redhat 7.1 running with samba with swat. When I tried to load it from local browser with address http://localhost:901/ or http://hostname:901/, it worked fine. However, when I tried to load it from a browser of another Linux box with address http://hostname:901/, it promted out the connection of this address is broken. I also tried to load web page from the same machine with address http://hostname:80/, it worked fine. I knew I had something setting wrong but have no idea. Any hints would be much appreciated!

Bokkenka
11-05-2001, 09:42 PM
Go into /etc/xinetd.d and open the swat file there. You can check some of the entries in there.


# 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
wait = no
only_from = localhost
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}

Check to see if the default is set to on or off. And, add the IP addess of the computer(s) you want to access swat from into the only_from line.

Editted to clean up the code.

[ 05 November 2001: Message edited by: Bokkenka ]