smbd: Correctly return INFO_LENGTH_MISMATCH for smb1
commite0beb5a2f258757f64ef3c4d0f6928e67a1e5d5b
authorVolker Lendecke <vl@samba.org>
Tue, 27 Aug 2013 09:40:19 +0000 (27 09:40 +0000)
committerKarolin Seeger <kseeger@samba.org>
Fri, 6 Sep 2013 08:49:28 +0000 (6 10:49 +0200)
tree966713d6ec203b87bab3f605347edb7c1b4e08b0
parentdf9fd7fae1adf496f8a9337755684c2a010760ec
smbd: Correctly return INFO_LENGTH_MISMATCH for smb1

This is required if the client offered less buffer than the fixed portion
of the info level data requires

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10106
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 1b1935b876a14154ef74e447bf53eb7cd0a5dde9)
source3/smbd/trans2.c