]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: set "ntlm auth = yes" for now as a lot of tests rely on it
authorStefan Metzmacher <metze@samba.org>
Thu, 21 Jul 2016 07:26:27 +0000 (09:26 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 22 Jul 2016 14:03:25 +0000 (16:03 +0200)
In future we should use a mix of environments some which support ntlmv1
and some without.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/target/Samba3.pm
selftest/target/Samba4.pm

index b5ea469184fe85560dc4ede7b34842c6da81ae8e..3e9ae46d12bfba829612d49289d53d5be42bce08 100755 (executable)
@@ -213,6 +213,7 @@ sub setup_nt4_dc($$)
        domain master = yes
        domain logons = yes
        lanman auth = yes
+       ntlm auth = yes
        raw NTLMv2 auth = yes
 
        rpc_server:epmapper = external
@@ -315,6 +316,7 @@ sub setup_nt4_member($$$)
        my $member_options = "
        security = domain
        dbwrap_tdb_mutexes:* = yes
+       ntlm auth = yes
        ${require_mutexes}
 ";
        my $ret = $self->provision($prefix,
@@ -381,6 +383,7 @@ sub setup_admember($$$$)
         workgroup = $dcvars->{DOMAIN}
         realm = $dcvars->{REALM}
         netbios aliases = foo bar
+       ntlm auth = yes
 ";
 
        my $ret = $self->provision($prefix,
@@ -550,6 +553,7 @@ sub setup_simpleserver($$)
 
        my $simpleserver_options = "
        lanman auth = yes
+       ntlm auth = yes
        vfs objects = xattr_tdb streams_depot time_audit full_audit
        change notify = no
 
@@ -842,6 +846,7 @@ sub setup_maptoguest($$)
 
        my $options = "
 map to guest = bad user
+ntlm auth = yes
 ";
 
        my $vars = $self->provision($path,
index 9d96c166d2b2f1bb6156173e3d55d5b4ed8c0cc9..5bf888aecbbebced08c46b46ae521eb61542f6f8 100755 (executable)
@@ -574,6 +574,7 @@ sub provision_raw_step1($$)
        log file = $ctx->{logdir}/log.\%m
        log level = $ctx->{server_loglevel}
        lanman auth = Yes
+       ntlm auth = Yes
        rndc command = true
        dns update command = $ctx->{samba_dnsupdate}
        spn update command = $ENV{SRCDIR_ABS}/source4/scripting/bin/samba_spnupdate -s $ctx->{smb_conf}