s3:libsmb/clitrans: correctly marshall [nt]trans[s][2] requests
commit75a4f63937c9249bbcc0c06230d0b9d27a76ae0a
authorStefan Metzmacher <metze@samba.org>
Tue, 7 Jun 2011 22:44:34 +0000 (8 00:44 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 Jul 2011 19:49:12 +0000 (26 21:49 +0200)
tree3fb0e48fea5d5c33c055246a2ef1b8b15c079870
parentcd77368b083516179c287de5426777220f862c96
s3:libsmb/clitrans: correctly marshall [nt]trans[s][2] requests

We need to align params and data to 4 byte offsets.

This also correctly recalculates the useable space after each step.

metze
(cherry picked from commit 0a8fd50bd806e925a915c74cb86733481b2144f6)
(cherry picked from commit da5870b0073ad2a8b3f1bd3957551283a5f0da33)
source3/libsmb/clitrans.c