[Samba] disconnecting user from only one share
raveenpl
raveenpl at gmail.com
Wed May 5 08:15:22 MDT 2010
Thanks for answer.
I've tested your proposition and I noticed that my user's windows station
after disconnecting is automatically reconnected to the share. Below you can
find output from smbstatus command:
After close-share message (everything is OK - user is disconnected from
share sh2)
Samba version 3.5.2
PID Username Group Machine
-------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
IPC$ 11005 domb-kfwdbzh4lc Wed May 5 15:53:31 2010
sh1 11005 domb-kfwdbzh4lc Wed May 5 15:14:10 2010
But after 1-2 second user is again connected to the share:
Samba version 3.5.2
PID Username Group Machine
-------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
IPC$ 11005 domb-kfwdbzh4lc Wed May 5 15:53:31 2010
sh1 11005 domb-kfwdbzh4lc Wed May 5 15:14:10 2010
sh2 11005 domb-kfwdbzh4lc Wed May 5 16:04:35 2010
Is there any way to resolve this issue? Maybe it is possible to exclude
share from samba configuration?
Jeremy Allison wrote:
>
> 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.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
>
--
View this message in context: http://old.nabble.com/disconnecting-user-from-only-one-share-tp28453207p28461533.html
Sent from the Samba - General mailing list archive at Nabble.com.
More information about the samba
mailing list