diff options
author | Stefan Metzmacher <metze@samba.org> | 2019-07-08 11:55:13 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2019-07-08 16:22:37 +0000 |
commit | c163ef20f887d6f7a1f3b5ef79adfccbca85cf57 (patch) | |
tree | 24c489fe19ab572bafeb938ec795f7b0434c2499 /selftest | |
parent | 32766db210426d92948a7d81d923f9d669ff3ed6 (diff) | |
download | samba-c163ef20f887d6f7a1f3b5ef79adfccbca85cf57.tar.gz |
selftest: explicitly set "server min protocol = LANMAN1"
This is the current default and what 'make test' assumes currently.
The next commit will change the default to disable SMB1.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'selftest')
-rwxr-xr-x | selftest/target/Samba3.pm | 2 | ||||
-rwxr-xr-x | selftest/target/Samba4.pm | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 6ce61a8b4ed..6deaa1e356f 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -1661,6 +1661,8 @@ sub provision($$$$$$$$$) panic action = cd $self->{srcdir} && $self->{srcdir}/selftest/gdb_backtrace %d %\$(MAKE_TEST_BINARY) smbd:suicide mode = yes + server min protocol = LANMAN1 + workgroup = $domain private dir = $privatedir diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index a1676d6428f..c3f22e9bb3e 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -796,6 +796,7 @@ sub provision_raw_step1($$) lanman auth = Yes ntlm auth = Yes rndc command = true + server min protocol = LANMAN1 dns update command = $ctx->{samba_dnsupdate} spn update command = $ctx->{python} $ENV{SRCDIR_ABS}/source4/scripting/bin/samba_spnupdate -s $ctx->{smb_conf} gpo update command = $ctx->{python} $ENV{SRCDIR_ABS}/source4/scripting/bin/samba-gpupdate -s $ctx->{smb_conf} --target=Computer |