svn commit: samba r11741 - in branches/SAMBA_4_0/source:
libcli/smb2 torture/smb2
metze at samba.org
metze at samba.org
Wed Nov 16 11:01:16 GMT 2005
Author: metze
Date: 2005-11-16 11:01:15 +0000 (Wed, 16 Nov 2005)
New Revision: 11741
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11741
Log:
- the buffer code (first 2 bytes in the SMB2 body) seem to be the length
of the fixed body part, and +1 if there's a dynamic part
- there're 3 types of dynamic blobs
with uint16_t offset/uint16_t size
with uint16_t offset/uint32_t size
with uint32_t offset/uint32_t size /* aligned to 8 bytes */
- strings are transmitted in UTF-16 with no termination and
packet into a uint16/uint16 blob
metze
Modified:
branches/SAMBA_4_0/source/libcli/smb2/close.c
branches/SAMBA_4_0/source/libcli/smb2/connect.c
branches/SAMBA_4_0/source/libcli/smb2/create.c
branches/SAMBA_4_0/source/libcli/smb2/getinfo.c
branches/SAMBA_4_0/source/libcli/smb2/negprot.c
branches/SAMBA_4_0/source/libcli/smb2/read.c
branches/SAMBA_4_0/source/libcli/smb2/request.c
branches/SAMBA_4_0/source/libcli/smb2/session.c
branches/SAMBA_4_0/source/libcli/smb2/smb2.h
branches/SAMBA_4_0/source/libcli/smb2/smb2_calls.h
branches/SAMBA_4_0/source/libcli/smb2/tcon.c
branches/SAMBA_4_0/source/libcli/smb2/transport.c
branches/SAMBA_4_0/source/libcli/smb2/write.c
branches/SAMBA_4_0/source/torture/smb2/connect.c
branches/SAMBA_4_0/source/torture/smb2/scan.c
branches/SAMBA_4_0/source/torture/smb2/util.c
Changeset:
Sorry, the patch is too large (1407 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11741
More information about the samba-cvs
mailing list