[Samba] Using filegroup for access control within a share

Jeremy Allison jra at samba.org
Tue Feb 9 23:17:24 UTC 2016

On Mon, Feb 08, 2016 at 01:54:33PM +0100, Trond Hasle Amundsen wrote:
> Hi,
> I have an issue with using a UNIX filegroup for access control within a
> share. The situation is like this:
> Given a share "test" which exports "/test" to a NIS netgroup "foo", I
> want to limit access to the directory "/test/restricted" to a specific
> filegroup "bar". All members of the filegroup "bar" are also members of
> the netgroup "foo".
> This works fine with Samba 3.x, but not with Samba 4.x. When setting
> owner/group to root/bar on "/test/restricted" and mode=770, access is
> denied for all users.
> What can I do to make this work with Samba 4.x? Or is this simply not
> possible anymore? 

More details and smb.conf on exactly how you've set this up please !

More information about the samba mailing list