torture: Add test for 16 bit alignment of readx data
commit61dbb57475eda861fabf38ab61dc6109159ed524
authorChristof Schmitt <cs@samba.org>
Thu, 7 Aug 2014 21:25:13 +0000 (7 14:25 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 29 Aug 2014 22:27:13 +0000 (30 00:27 +0200)
treeb9cb17f8f98f41f1a2711efbaea274d547880420
parentaea680b7dbc648712bd0216baa6f125521502d71
torture: Add test for 16 bit alignment of readx data

MS-CIFS requires a one byte pad to guarantee 16 bit alignment of the
data:

Pad (1 byte): This field is optional. When using the NT LAN Manager
dialect, this field can be used to align the Data field to a 16-bit
boundary relative to the start of the SMB Header. If Unicode strings are
being used, this field MUST be present. When used, this field MUST be
one padding byte long.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/torture/raw/read.c