[Samba] disconnecting user from only one share

Jeremy Allison jra at samba.org
Tue May 4 15:33:05 MDT 2010


On Tue, May 04, 2010 at 02:18:09PM -0700, raveenpl wrote:
> 
> Hello,
> 
> I would like to know if somebody knows any way to disconnect/logout user
> only from one share.
> 
> One of my user is using serveral samba shares. I would like to disconnect
> him only from one share. I noticed that killing PID of smbd subprocess
> causes disconnecting from all used shares - I can not afford it, because
> other shares are used by critical for my user applications.
> 
> Any suggestions?

Check out the smbcontrol message "close-share".

Jeremy.


More information about the samba mailing list