s3:selftest: Enable winbindd for maptoguest environment
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 11 Apr 2023 03:39:04 +0000 (15:39 +1200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 12 Apr 2023 13:52:32 +0000 (13:52 +0000)
This is required for the samba3.blackbox.guest test to work. Without it,
the test fails to find a group map.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
selftest/target/Samba3.pm

index 830f0da533c7c44f92c4319d9b3915a8ccfa8904..ab0b61279ef2bb9f096cc1a75c6b51c4de272e20 100755 (executable)
@@ -2263,6 +2263,7 @@ sub setup_maptoguest
        print "PROVISIONING maptoguest...";
 
        my $options = "
+domain logons = yes
 map to guest = bad user
 ntlm auth = yes
 server min protocol = LANMAN1
@@ -2286,6 +2287,7 @@ server min protocol = LANMAN1
        if (not $self->check_or_start(
                env_vars => $vars,
                nmbd => "yes",
+               winbindd => "yes",
                smbd => "yes")) {
               return undef;
        }