test_nfs4_acls: Add test for flags mapping from DACL to NFS4 ACL
authorChristof Schmitt <cs@samba.org>
Tue, 2 Jul 2019 18:30:12 +0000 (11:30 -0700)
committerChristof Schmitt <cs@samba.org>
Tue, 23 Jul 2019 18:27:25 +0000 (18:27 +0000)
commitbccd2612761e26ee2514935d56927b2c0c000859
tree519f33925b715648256aa0d4f34df573b30e060f
parent16eb61a900c6749c2554d635ce2dd903f5de1704
test_nfs4_acls: Add test for flags mapping from DACL to NFS4 ACL

Add testcase for the mapping of inheritance flags from the DACL in the
security descriptor to the NFSv4 ACL. The mapping is different for files
and directories as some inheritance flags should not be present for
files. Also other flags are not mapped at all, verify this behavior.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14032

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/test_nfs4_acls.c