[Samba] swat

neil neil at box1.staller.sunysb.edu
Sat May 11 10:00:03 GMT 2002


depending on the security/firewall options you chose during installation 
port 901 may be blocked by ipchains as well. ?
if so look at /etc/sysconfig/ipchains , "man ipchains" et cetera or try 
lokkit et al...

-n 

On Sat, 11 May 2002, Joel Hammer wrote:

> I just tried it and got the same error. You have to enable swat.
> In your /etc/xinet.d directory, you need a file something like this: (Called
> swat)
> 
> 
> # default: off
> 	disable = no
> 
> Then, stop and restart xinetd:
> /etc/rc.d/init.d/xinetd stop
> /etc/rc.d/init.d/xinetd start
> 
> To make sure things have gone well,
> netstat -apn | grep xinet 
> should show you port 901 is being monitored.
> 
> My other problem was I was using the -a option with swat, and xinetd
> rejected it.
> 
> BTW, swat is overrated in my book. If you need quick access to documentation,
> man smb.conf is much faster.
> 
> Joel
> > 
> >    When I browse (konqueror) to http://localhost:901,
> > I always got the message:
> > 
> >    "Could not connet to host localhost [port 901]"
> > 
> > Without the port number, I was able to display a
> > TestPage at localhost. Other browsers don't find the
> > port either.
> > 
> > I'm using Red Hat 7.2, Samba 2.2.1-3. I double checked
> > what I did:
> > 
> >    /etc/services file lists: 
> > 
> >      swat    901/tcp
> > 
> >    /etc/xinetd.d contains swat file
> > 
> > What else do I need for running swat? Help...
> > 





More information about the samba mailing list