Handle IDMAP_BOTH in posix_acls.c

Andrew Bartlett abartlet at samba.org
Wed May 2 23:49:21 MDT 2012

In my s3-acls branch I have a patch to use IDMAP_BOTH in posix_acls.c

I know you are both very keen to get IDMAP_BOTH properly supported in
smbd, so we can support GPOs in the s3fs configuration.  I'm hoping to
today and tomorrow write some tests for GPO ACLs but in the meantime I
think this is what we need:

It passes a manual autobuild.

BTW, for testing I was planning on writing a python script to:
 - reading the DS ACLs from LDB
 - write local xattr values
 - reading back over SMB
 - write over SMB
 - read over SMB

Hopefully this will closely enough emulate the GPO behaviour we need to

Andrew Bartlett
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

More information about the samba-technical mailing list