Samba does not reload user group members

Posted by xato on Server Fault See other posts from Server Fault or by xato
Published on 2013-06-25T15:39:20Z Indexed on 2013/06/25 16:22 UTC
Read the original article Hit count: 262

Filed under:
|
|
|
|

I am running a simple samba server setup where users connect to a share which contains folders for specific user groups. The folders are chmod 2770, so only users which are in the correct group can read/write in them.

The problem is that if I change group memberships (i.e. remove user from group / add user to group; changes are in sync between clients and server!) samba does not automatically reload the group memberships for the user, so they can still write to groups that they are no longer a member of etc. I either have to reconnect to the share or to restart samba to apply the changes.

Is there any way to prevent group caching and/or enable group membership reload in samba?

My smb.conf: https://gist.github.com/anonymous/ca7c10a3b3e2168d7a03

© Server Fault or respective owner

Related posts about linux

Related posts about permissions