[Samba] SWAT - special weapons and tactics :)

Lancsár Roland lancsihh at freemail.hu
Mon Mar 29 10:57:02 GMT 2004


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




More information about the samba mailing list