summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2021-03-25 15:43:16 -0700
committerJeremy Allison <jra@samba.org>2021-03-30 19:16:34 +0000
commitc7762a2bee2573421888b1fab8f3c86ea5348458 (patch)
tree7f915d0424564e0aec6254f254fd1a14584d5d24 /source3/torture/torture.c
parent9cff0a0c1145714da1e2a961c36d5b45e781ed55 (diff)
downloadsamba-c7762a2bee2573421888b1fab8f3c86ea5348458.tar.gz
s3: torture: Add a test for setting and getting ACLs on stream handles (SMB2-STREAM-ACL).
It shows this isn't done correctly for streams_xattr. A common config is: vfs_objects = streams_xattr acl_xattr to store both streams and Windows ACLs in xattrs. Unfortunately getting and setting ACLs using handles opened on stream files isn't being done correctly in Samba. This test passes against Windows 10. This adds tests that prove this doesn't work. Next patch will add the fix and remove the knownfail. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/torture/torture.c')
-rw-r--r--source3/torture/torture.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index add58414f33..2a78fb92bc4 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -15218,6 +15218,10 @@ static struct {
.fn = run_smb2_quota1,
},
{
+ .name = "SMB2-STREAM-ACL",
+ .fn = run_smb2_stream_acl,
+ },
+ {
.name = "CLEANUP1",
.fn = run_cleanup1,
},