summaryrefslogtreecommitdiff
path: root/selftest/target/Samba3.pm
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-11-16 15:40:59 +0100
committerJeremy Allison <jra@samba.org>2018-12-05 01:38:14 +0100
commitcc471448df91c43fe38e2fcdf9b3874636ca51a6 (patch)
tree5655f3bb3eba3f004b6fb07591052810a9fc463a /selftest/target/Samba3.pm
parent3b38dddff2c1d1b51aed96368b358f349682bea0 (diff)
downloadsamba-cc471448df91c43fe38e2fcdf9b3874636ca51a6.tar.gz
s3:tests: Test for users connecting to their 'homes' share
This adds a test for CVE-2009-2813. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13699 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
Diffstat (limited to 'selftest/target/Samba3.pm')
-rwxr-xr-xselftest/target/Samba3.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 0547418b657..d90945c3830 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -977,6 +977,10 @@ sub setup_fileserver
comment = inherit only unix owner
inherit owner = unix only
acl_xattr:ignore system acls = yes
+[homes]
+ comment = Home directories
+ browseable = No
+ read only = No
";
my $vars = $self->provision($path, "WORKGROUP",