summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-04-14 09:48:14 +0400
committerMatthieu Patou <mat@matws.net>2011-05-21 14:39:12 +0400
commitfae229aa3df470cf9cd87b42d60aa6be4211d1ae (patch)
tree4c73f2008654581637d6587f2ce71061a7c8ef92 /selftest
parent49c99d05159fb601ea076824e0f6a64326fdf8d9 (diff)
downloadsamba-fae229aa3df470cf9cd87b42d60aa6be4211d1ae.tar.gz
selftest: Allow to test samba4 with ACL on read set
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'selftest')
-rw-r--r--selftest/target/Samba4.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index bbe64a9a8aa..d27ee4190af 100644
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -578,8 +578,11 @@ sub provision_raw_step1($$)
warn("can't open $ctx->{smb_conf}$?");
return undef;
}
+ my $acl = "false";
+ $acl = "true" if (defined $ENV{WITH_ACL});
print CONFFILE "
[global]
+ acl:search = $acl
netbios name = $ctx->{netbiosname}
posix:eadb = $ctx->{lockdir}/eadb.tdb
workgroup = $ctx->{domain}