diff options
author | Michael Adam <obnox@samba.org> | 2012-02-22 15:29:26 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-02-23 03:23:57 +0100 |
commit | fe24ab4e53cde22e6b72d6073592cd3e31dc97f0 (patch) | |
tree | b703f32d74f97e4fc076c2f24651a4bb4664a9a3 /source3/libsmb/smb2cli_write.c | |
parent | 0c733221cf122d1bf304d74904b1329b2a6b7fb5 (diff) | |
download | samba-fe24ab4e53cde22e6b72d6073592cd3e31dc97f0.tar.gz samba-fe24ab4e53cde22e6b72d6073592cd3e31dc97f0.tar.bz2 samba-fe24ab4e53cde22e6b72d6073592cd3e31dc97f0.zip |
s4:smbcli:smb2: add a random GUID to the transport connection in smb2_transport_init()
This GUID is used in the smb2 negprot when max protocol is bigger than 0x0202.
According to section 2.2.3 of the MS-SMB2 document, the Client GUID filed in the
SMB2 negotiate request must be filled with a (non-zero) GUID if there are other
dialects than 0x0202 in the dialects field.
http://msdn.microsoft.com/en-us/library/cc246543%28v=prot.13%29.aspx
Apart from corresponding to the docs, this change makes some of our durable-open
tests (e.g reopen2 and open-oplock) _not_ hang when running against windows 8
preview (which might be still buggy).
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Feb 23 03:23:57 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/libsmb/smb2cli_write.c')
0 files changed, 0 insertions, 0 deletions