libcli/smb: fix parsing of compounded messages within a SMB2_TRANSFORM pdu
authorStefan Metzmacher <metze@samba.org>
Tue, 14 Aug 2012 07:33:01 +0000 (09:33 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 15 Aug 2012 12:45:21 +0000 (14:45 +0200)
commit7a7e9b1c76f3967cc8cdae34e5d64759305e592a
treec19d989057e5e31c550c301c262e29e73815d18e
parent84f6b0f962a9106e0c108cdcd5eb5a1599cd8097
libcli/smb: fix parsing of compounded messages within a SMB2_TRANSFORM pdu

One SMB2_TRANSFORM pdu wraps multiple SMB2 pdus.

We inject the SMB2_TRANSFORM header to each response which was wrapped
inside. This allows the next layer to verify if the SMB2 pdu was encrypted.

metze
libcli/smb/smbXcli_base.c