smbd: Correctly return INFO_LENGTH_MISMATCH in smb2_getinfo
commit91939614760837b2ac2c6bb8b5daac108a4f4670
authorVolker Lendecke <vl@samba.org>
Tue, 27 Aug 2013 09:36:03 +0000 (27 09:36 +0000)
committerJeremy Allison <jra@samba.org>
Wed, 28 Aug 2013 21:37:08 +0000 (28 23:37 +0200)
treeb952ab5d8b93696da2c4939510d17082c5ccbdaa
parentac41df91a5a425633fc716ca02187e753879d795
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>
source3/smbd/smb2_getinfo.c