Samba on start up

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
Subject: Samba on start up
On Sat, 7 Feb 2004 wrote:

> After much fighting I now have samba working on my desktop, but I have to
> start it each I reboot.In my /etc/inetd.conf I have:
> #<off># netbios-ssn     stream  tcp     wait    root    /usr/sbin/tcpd
> /usr/sbin/smbd
> #<off># netbios-ns      dgram   udp     wait    root    /usr/sbin/tcpd
> /usr/sbin/nmbd -a


These are commented out -- so will not work. Uncomment and reload inetd.
(Using inetd is not good for samba, because may restart when not needed.)

Better yet, try:

smbd -D
nmbd -D

to start.

Jeremy C. Reed
http://bsd.reedmedia.net/