xinetd, what's the trick?

Charles Marcus CharlesM at Media-Brokers.com
Thu Nov 8 07:17:14 GMT 2001


Sorry - I left out 'on Redhat systems'...

> -----Original Message-----
> From: samba-admin at lists.samba.org 
> [mailto:samba-admin at lists.samba.org]On
> Behalf Of Charles Marcus
> Sent: Thursday, November 08, 2001 9:42 AM
> To: samba at lists.samba.org
> Subject: RE: xinetd, what's the trick?
> 
> 
> smb is not an xinetd based service...
> 
> try running:
> 
> chkconfig --list
> 
> See if smb is set to run at the runlevel you have your server 
> set to boot
> to.
> 
> If not, try
> 
> chkconfig --level 5 smb on
> 
> (or, if your server boots up into runlevel 3, change the 5 to a 3)
> 
> Charles
> 
> > -----Original Message-----
> > From: samba-admin at lists.samba.org
> > [mailto:samba-admin at lists.samba.org]On
> > Behalf Of Norberto Bensa
> > Sent: Thursday, November 08, 2001 12:07 AM
> > To: samba at lists.samba.org
> > Subject: xinetd, what's the trick?
> >
> >
> > 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
> >
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 





More information about the samba mailing list