xinetd, what's the trick?

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


Hello,

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:

#/etc/xinetd.d/netbios-ns
service netbios-ns
{
        disable         = no
        socket_type     = dgram
        protocol        = udp
        port            = 137
        user            = root
        wait            = yes
        server          = /usr/local/samba/bin/nmbd
}

#/etc/xinetd.d/netbios-ssn
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
Neighborhood.
, *but* if I start samba with:

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

voila!

So, what's the trick to use xinetd?

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

TIA,
Norberto






More information about the samba mailing list