[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to autostart the samba daemon(s)



*- On 15 Oct, Charles Lewis wrote about "how to autostart the samba daemon(s)"
> I have the samba script in /etc/init.d, and when I do an 'update-rc.d samba
> defaults', it says that the symlinks already exists. However, after a
> reboot, I have to manually start the daemons by typing in smbd and nmbd.
> What am I not doing? I've looked at the smb HOWTO and it does not seem to
> conform to debian policy. samba.org doesn't seem to address this question
> either.

Run sambaconfig and answer the question to start as daemon.

or

Edit /etc/samba/debian_config and make sure the run_mode line is
as_daemons.

run_mode=as_daemons

Edit /etc/inittab and comment out the netbios-ssn and netbios-ns lines,
then execute 

kill -HUP `pidof inetd`


Brian Servis
-- 
------------------------------------------------------------------------
Mechanical Engineering              |  Never criticize anybody until you  
Purdue University                   |  have walked a mile in their shoes,
servis@purdue.edu                   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Reply to: