[Samba] updating smb.conf during Samba is working
Andrew Bartlett
abartlet at samba.org
Sat Sep 21 13:36:00 GMT 2002
Joel Hammer wrote:
>
> I believe you just send a sighup to the original smbd daemon.
> The pid when you compile from source with defaults is here:
> /usr/local/samba/var/locks/smbd.pid
> It may be in /var/lock or other places.
> Or, ps ax | grep smbd and usually, if smbd is started on reboot, the lowest
> pid is your original one.
> In linux, signal 1 is sighup, so:
> kill -1 pid
> makes smbd reread smb.conf but current connections are not altered.
> I do not know what happens if you sighup a daughter smbd process.
Hitting any smbd with a -HUP should force a reload of the config file,
and reopen the logfiles etc.
(ie killall -HUP smbd should work fine)
Andrew Bartlett
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba
mailing list