xinetd, what's the trick?

Norberto Bensa nbensa at
Wed Nov 7 21:10:02 GMT 2001


I've succefuly installed samba 2.2.2 on my Linux box. I can share between
Linux and MS boxes, but I want to start samba from xinetd.

In /etc/xinetd.d/ I have this:

service netbios-ns
        disable         = no
        socket_type     = dgram
        protocol        = udp
        port            = 137
        user            = root
        wait            = yes
        server          = /usr/local/samba/bin/nmbd

service netbios-ssn
        disable         = no
        socket_type     = stream
        protocol        = tcp
        port            = 139
        user            = root
        wait            = no
        server          = /usr/local/samba/bin/smbd

But it doesn't work, i.e., my samba server doesn't show up in Network
, *but* if I start samba with:

/usr/local/samba/bin/smbd -D
/usr/local/samba/bin/nmbd -D


So, what's the trick to use xinetd?

BTW: I *know* xinetd is running, I'm using telnet, swat, vnc, etc. that way.


More information about the samba mailing list