samba-users August 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: [Samba] Samba permission changes are not applied to

[Samba] Samba permission changes are not applied to active connections

From: George Rhoten <grhoten_at_nospam>
Date: Thu Aug 26 2010 - 23:57:19 GMT


I'm using Samba 3.4.2 with CTDB. If I remove a user from the valid users
list with "net conf setparm Share 'valid users' ..." on the server, and I
connect a new Windows client to the Samba server on Linux, I get a
permission denied for that user, which is correct behavior.

However, there is a problem for active connections. If I revoke access for a
user with a live connection to a share, the user can continue to modify
files. Between a Windows server and client this type of change is
instantaneous. So I'm seeing different behavior between what Samba/Windows
and Windows/Windows configurations.

The only alternative I've found is to kill the smbd process of any user
currently logged on, but I'm not sure which share they're connected to. So
maybe I shouldn't be doing that.

Is there a reliable way to get Samba to pay attention to any permission
changes on live connections?

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