Re: [Samba] smbcontrol reload & close-share not working like previous version
- Date: Fri, 23 Feb 2018 11:35:09 +0000
- From: Rowland Penny via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] smbcontrol reload & close-share not working like previous version
On Fri, 23 Feb 2018 13:24:19 +0200
Özkan Göksu via samba <samba@xxxxxxxxxxxxxxx> wrote:
> 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
To unsubscribe from this list go to the following URL and read the