summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2017-06-26 12:10:40 +0200
committerStefan Metzmacher <metze@samba.org>2017-06-27 16:57:42 +0200
commit94b9b6832c83137db10d04dbfec071a7df7b91c1 (patch)
treea616d73895bf77fa3e04321abddd29f49a066430 /selftest
parent89117b0bf2d0b8d2c42bcf1dbd33c7c2e6b0e16d (diff)
downloadsamba-94b9b6832c83137db10d04dbfec071a7df7b91c1.tar.gz
selftest: run nt4_dc_schannel with 'server max protocol = SMB2_02'
This reproduces the problem with trying to implement FSCTL_VALIDATE_NEGOTIATE_INFO as SMB2_02 server. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12772 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'selftest')
-rw-r--r--selftest/knownfail.d/smb2_02-server-smb3-client3
-rwxr-xr-xselftest/target/Samba3.pm2
2 files changed, 5 insertions, 0 deletions
diff --git a/selftest/knownfail.d/smb2_02-server-smb3-client b/selftest/knownfail.d/smb2_02-server-smb3-client
new file mode 100644
index 00000000000..68c800d0f13
--- /dev/null
+++ b/selftest/knownfail.d/smb2_02-server-smb3-client
@@ -0,0 +1,3 @@
+^samba3.blackbox.smbclient_basic.SMB2_10.smbclient.*\(nt4_dc_schannel\)
+^samba3.blackbox.smbclient_basic.SMB3_02.smbclient.*\(nt4_dc_schannel\)
+^samba3.blackbox.smbclient_basic.SMB3_11.smbclient.*\(nt4_dc_schannel\)
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index f67818adc1a..270ad2726a9 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -278,6 +278,8 @@ sub setup_nt4_dc_schannel($$)
rpc_daemon:lsasd = fork
server schannel = yes
+ # used to reproduce bug #12772
+ server max protocol = SMB2_02
";
my $vars = $self->provision($path, "NT4SCHANNEL",