Samba4 ACLs and Linux ACLs

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Oct 26 03:49:18 MDT 2010

On Tue, Oct 26, 2010 at 08:24:26PM +1100, David Disseldorp wrote:
> On Mon, 25 Oct 2010 11:43:37 -0700
> Jeremy Allison <jra at> wrote:
> > Yes, I'm planning to support richacls but I don't see a finalized
> > userspace API for me to use yet.
> A WIP richacl Samba 3 VFS module is available at
>   git://
>   branch: 36t-richacl
> It's currently a little rough around the edges:
> - it should also handle nt dacls passed in on create, not just get/set
>   acl
> - CREATOR_OWNER and CREATOR_GROUP aces are not supported
> - automatic inheritance flags SEC_DESC_DACL_AUTO_INHERITED and
>   ACL4_AUTO_INHERIT are mapped to each other, however these flags offer
>   differing semantics on Windows and Linux (richacls).
> Hopefully look at getting it upstream when the above issues are
> resolved and it's had some thorough testing.
> Anyhow, feel free to poke around. Suggestions, feedback and
> ridicule welcome.

Quick question:

        richacl_for_each_entry(richace, richacl) {

Where do I find the definition of that macro?


More information about the samba-technical mailing list