samba and inetd problems

Gerald Carter gcarter at valinux.com
Fri May 19 13:55:22 GMT 2000


Ron Alexander wrote:
> 
> Can someone PLEASE tell me if using inetd is the recommended 
> way or not?
> 
> According to all the books I have, it is recommended.
> 
> I don't understand how it could work however, since inetd 
> would hear the connection requests on port 139 before the 
> smb daemon would. As a result, you would get more 
> smb daemons starting and failing becuse they could not
> lock the smbd.pid file.

The recommended method is to run smbd and nmbd as daemons.
What books do you have?

For what it's worth, I think only when run as a daemon does samba
worry about *pid files.  This is off the top of my without 
consulting the code though.






Cheers,
jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com  VA Linux Systems    gcarter at valinux.com
       http://www.samba.org       SAMBA Team           jerry at samba.org
       http://www.eng.auburn.edu/~cartegw

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )


More information about the samba-technical mailing list