[Samba] Using filegroup for access control within a share

Trond Hasle Amundsen t.h.amundsen at usit.uio.no
Mon Feb 8 12:54:33 UTC 2016


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? 

Trond H. Amundsen <t.h.amundsen at usit.uio.no>
Center for Information Technology Services, University of Oslo

More information about the samba mailing list