samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: Re: [Samba] disconnecting user from only one share

Re: [Samba] disconnecting user from only one share

From: Jeremy Allison <jra_at_nospam>
Date: Tue May 04 2010 - 21:33:05 GMT
To: raveenpl <>

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".

-- To unsubscribe from this list go to the following URL and read the instructions: