s3:smbd: implement FSCTL_SMBTORTURE_GLOBAL_READ_RESPONSE_BODY_PADDING8
authorStefan Metzmacher <metze@samba.org>
Mon, 5 Jul 2021 15:49:00 +0000 (17:49 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 21 Jul 2021 09:37:15 +0000 (09:37 +0000)
commitb644b297bf83e49d81c97593f5e33b4dc57686dc
treefd013312b424be00256ff1a0ffb28e496fe8c220
parent0be68189ffcc746c67dd1ae0610f4b33973c8eee
s3:smbd: implement FSCTL_SMBTORTURE_GLOBAL_READ_RESPONSE_BODY_PADDING8

This turns the 'smb2.read.bug14607' test from 'skip' into 'xfailure',
as the 2nd smb2cli_read() function will now return
NT_STATUS_INVALID_NETWORK_RESPONSE.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14607

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit ef57fba5dbf359b204ba952451e1e33ed68f1c91)
selftest/knownfail.d/smb2-read-bug14607 [new file with mode: 0644]
source3/smbd/globals.h
source3/smbd/smb2_ioctl.c
source3/smbd/smb2_read.c