[K12OSN] Samba help

dalen dalen at czexan.net
Mon Aug 30 18:45:54 UTC 2004


Krsnendu wrote:
> 1. I can't access SWAT through the network. From the server machine, if
> I connect using localhost:901 it connects, but if I use the "ipaddress
> of the server":901 it says the "document contains no data"
Krsnendu,
	swat only runs from localhost by default (see swat config below).  You 
can either remove the only_from line (not secure as password is 
transmitted as plaintext).  Or you can setup putty to port forward port 
901.  Then putty to your server securely and open a browser to 
http://localhost:901 to access swat.

[root at viewlib xinetd.d]# 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
{
         disable = no
         port            = 901
         socket_type     = stream
         wait            = no
         only_from       = 127.0.0.1
         user            = root
         server          = /usr/sbin/swat
         log_on_failure  += USERID
}
[root at viewlib xinetd.d]#






More information about the K12OSN mailing list