selftest: run nt4_dc_schannel with 'server max protocol = SMB2_02'
authorStefan Metzmacher <metze@samba.org>
Mon, 26 Jun 2017 10:10:40 +0000 (12:10 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 27 Jun 2017 14:57:42 +0000 (16:57 +0200)
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>
selftest/knownfail.d/smb2_02-server-smb3-client [new file with mode: 0644]
selftest/target/Samba3.pm

diff --git a/selftest/knownfail.d/smb2_02-server-smb3-client b/selftest/knownfail.d/smb2_02-server-smb3-client
new file mode 100644 (file)
index 0000000..68c800d
--- /dev/null
@@ -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\)
index f67818adc1a2210829c7189deb86fc35bbc68801..270ad2726a93ed6204404d8e0cd655d4d33dc48f 100755 (executable)
@@ -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",