Starting the smbd nmbd and winbindd
You must choose to start smbd, winbindd and nmbd either as daemons or from
inetd. Don't try to do both! Either you can put
inetd.conf and have them started on demand by
inetd or xinetd, or you
can start them as daemons either from the command-line or in
/etc/rc.local. See the man pages for details on the
command line options. Take particular care to read the bit about what user
you need to have to start Samba. In many cases, you must be root.
The main advantage of starting smbd and nmbd using the recommended daemon method
is that they will respond slightly more quickly to an initial connection request.