Same fix as bug 8989 - Samba 3.5.x (and probably all other versions of Samba) does...
commit8243fb8dbeed34e1a9a61d44c48d82321eebe7ab
authorJeremy Allison <jra@samba.org>
Mon, 18 Jun 2012 23:24:12 +0000 (18 16:24 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sat, 30 Jun 2012 10:41:13 +0000 (30 12:41 +0200)
treeb58874677c40b3226741b66351d475ec75c698dc
parente46f24296158ca48ac450b013cce39dd6ea91b42
Same fix as bug 8989 - Samba 3.5.x (and probably all other versions of Samba) does not send correct responses to NT Transact Secondary when no data and no params

for the Trans2 calls. See MS-CIFS 2.2.4.47.2 for details.
(cherry picked from commit d5c01dc502e02cde12abc939afd48519d38c09a9)
source3/smbd/trans2.c