selftest: Allow to test samba4 with ACL on read set
authorMatthieu Patou <mat@matws.net>
Thu, 14 Apr 2011 05:48:14 +0000 (09:48 +0400)
committerMatthieu Patou <mat@matws.net>
Sat, 21 May 2011 10:39:12 +0000 (14:39 +0400)
Signed-off-by: Andrew Tridgell <tridge@samba.org>
selftest/target/Samba4.pm

index bbe64a9a8aa445d4458914dd646e13700c201162..d27ee4190af5e0d6e0d008226611ae40730ada0e 100644 (file)
@@ -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}