smbd: Correctly return INFO_LENGTH_MISMATCH in smb2_getinfo
commit9444c6fce8dd99543957fd22d7274a69fc2b200f
authorVolker Lendecke <vl@samba.org>
Tue, 27 Aug 2013 09:36:03 +0000 (27 09:36 +0000)
committerKarolin Seeger <kseeger@samba.org>
Fri, 6 Sep 2013 08:48:38 +0000 (6 10:48 +0200)
tree49f5d05cc27a5563b20332c269359cd3e2f84884
parentb4427b92f143d90730d144ab24233f8540d83538
smbd: Correctly return INFO_LENGTH_MISMATCH in smb2_getinfo

We have to return this error if the client offered less than the fixed
portion of the infolevel 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 91939614760837b2ac2c6bb8b5daac108a4f4670)
source3/smbd/smb2_getinfo.c