test_nfs4_acls: Add test for mapping permissions from NFS4 ACL to DACL
commit95138d5787280e23e2f87286225f2b99f28e324e
authorChristof Schmitt <cs@samba.org>
Tue, 2 Jul 2019 18:33:29 +0000 (2 11:33 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 23 Aug 2019 08:59:23 +0000 (23 08:59 +0000)
tree71f06c51a92754421e097300aa313732696920c2
parent8d378ce76c601f4828b586ae64215dd9055d24a7
test_nfs4_acls: Add test for mapping permissions from NFS4 ACL to DACL

Add testcase for mapping permissions from the NFSv4 ACL to DACL in the
security descriptor. The mapping is simple as each permission bit exists
on both sides.

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>
(cherry picked from commit 1767027b44a9e4ebd865022e3f8abb0c72bf15c6)
source3/modules/test_nfs4_acls.c