summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2023-03-21 10:31:36 -0700
committerRalph Boehme <slow@samba.org>2023-03-29 17:55:51 +0000
commit006fe806782c42e860ed2cf2bc9f6b1b82c3a307 (patch)
treeadebb4671cfbe48575da61468d9dc3e3a3b07957 /selftest
parentb755b81d66a2b63e2e0a1fe9406d8f24b91d983e (diff)
downloadsamba-006fe806782c42e860ed2cf2bc9f6b1b82c3a307.tar.gz
tests: Add samba3.blackbox.zero_readsize test.
smbclient crashes when smbd has "smb2 max read = 0" in the [global] section of smb.conf. We should fail the protocol negotiation with NT_STATUS_INVALID_NETWORK_RESPONSE in this case. Adds knownfail. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15306 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'selftest')
-rw-r--r--selftest/knownfail.d/smb2_zero_readsize1
1 files changed, 1 insertions, 0 deletions
diff --git a/selftest/knownfail.d/smb2_zero_readsize b/selftest/knownfail.d/smb2_zero_readsize
new file mode 100644
index 00000000000..c7ec92cd629
--- /dev/null
+++ b/selftest/knownfail.d/smb2_zero_readsize
@@ -0,0 +1 @@
+^samba3.blackbox.zero_readsize.smb2_zero_readsize\(simpleserver:local\)