smbd: Correctly return INFO_LENGTH_MISMATCH in smb2_getinfo
commit9818b31167531f41cbf08fccf89d60ca128c3d4d
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:49:50 +0000 (6 10:49 +0200)
tree967d8b80b9b55c46e72d75aba44d40fdeff3cc07
parenta3d041438f2f0fde9644ec27b89f19ded3146f50
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