[Samba] hosts allow option is not applaying without restart smbd

Rowland Penny rpenny at samba.org
Thu Jun 21 13:23:47 UTC 2018

On Thu, 21 Jun 2018 19:17:14 +0700
Vladimir Eltsov via samba <samba at lists.samba.org> wrote:

> Hello.
> I have read man smbcontrol.
> I wrote in start message:
> > I have tried:
> > systemctl reload smbd.service
> > killall -1 smbd
> > pkill -HUP smbd

Forget 'systemctl reload'
Forget 'killall'
Forget 'pkill'

> > smbcontrol smbd reload-config

This is the one that should work, this should make smbd reload smb.conf
You could try 'smbcontrol all reload-config'
You should also note, that this will probably need to be run by root or
with sudo.

If it still doesn't work, try raising the log level and see if anything
pops out.


More information about the samba mailing list