[Samba] SWAT - special weapons and tactics :)

Joseph Loo jloo at acm.org
Tue Mar 30 03:09:58 GMT 2004


Have you checked to see if your pam.d directory has samba file to
authorize permission. I had runned into that problem awhile back.

On Mon, 2004-03-29 at 02:57, Lancsár Roland wrote:
> Hi all,
> 
> OS: suse 9
> samba ver: 3.0.2
> 
> linux:/etc/xinetd.d # cat swat
> service swat
> {
>     port = 901
>     socket_type = stream
>     wait = no
>     only_from = localhost 10.1.1.10
>     user = root
>     server = /usr/sbin/swat
>     log_on_failure += USERID
> #    disable = yes
> 
> linux:/etc # cat inetd.conf
> swat stream tcp nowait.400 root /usr/sbin/swat swat
> 
> linux:/etc # cat services | grep 901
> swat            901/tcp         # CONFLICT, not official assigned!
> #smpnameres     901/tcp         # SMPNAMERES
> #smpnameres     901/udp         # SMPNAMERES
> 
> linux:/etc # whereis swat
> swat: /usr/sbin/swat /usr/share/man/man8/swat.8.gz
> 
> Okay, but it doesn't work. :(
> 
> I set my browser, it doesn't use proxy to connect to 10.1.1.12:901 (this is
> the linus samba server)
> I try to connect from 10.1.1.10, the error message: "Could not connect to
> remote server http://10.1.1.12:901"
> I don't use firewall on linux.
> 
> What is wrong?
> 
> Regards, roland
-- 
Joseph Loo
jloo at acm.org



More information about the samba mailing list