[Samba] smbcontrol reload & close-share not working like previous version

Rowland Penny rpenny at samba.org
Fri Feb 23 11:35:09 UTC 2018

On Fri, 23 Feb 2018 13:24:19 +0200
Özkan Göksu via samba <samba at lists.samba.org> wrote:

> Hello.
> I just upgrade my kernel, smbd and changed my smb.conf.
> (4.14.12-1-Arch" to "4.14.19-1-lts") "samba 4.7.4-1"
> But now, "reload smbd" and "close-share" can not drop connected users
> to share. Because of that I have to restart smbd service for destroy
> a share right now.
> But it was working previous version and I don't know what is wrong
> right now. As you know, restarting SMBD affects other shares. This is
> dirty way to an easy job.
> When I try to destroy a share I follow these steps:
> 1- Edit smb.conf "delete include line"
> 2- Delete samba share conf (what is included)
> 3- smbcontrol smbd close-share

The syntax for 'close-share' is:

smbcontrol smbd close-share 'sharename'


smbcontrol smbd close-share '*'

For all shares

See 'man smbcontrol' for more info


More information about the samba mailing list