Web lists-archives.com

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




On Thu, 21 Jun 2018 19:17:14 +0700
Vladimir Eltsov via samba <samba@xxxxxxxxxxxxxxx> 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.

Rowland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba