svn commit: samba r16911 - in branches/SAMBA_4_0/source/smb_server/smb2: .

metze at samba.org metze at samba.org
Mon Jul 10 10:31:12 GMT 2006


Author: metze
Date: 2006-07-10 10:31:11 +0000 (Mon, 10 Jul 2006)
New Revision: 16911

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16911

Log:
the TID is only 32 bits...don't overwrite parts of the UID field

metze
Modified:
   branches/SAMBA_4_0/source/smb_server/smb2/tcon.c


Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/smb2/tcon.c
===================================================================
--- branches/SAMBA_4_0/source/smb_server/smb2/tcon.c	2006-07-10 10:27:02 UTC (rev 16910)
+++ branches/SAMBA_4_0/source/smb_server/smb2/tcon.c	2006-07-10 10:31:11 UTC (rev 16911)
@@ -277,7 +277,7 @@
 
 	SMB2SRV_CHECK(smb2srv_setup_reply(req, 0x10, False, 0));
 
-	SBVAL(req->out.hdr,	SMB2_HDR_TID,	io->smb2.out.tid);
+	SIVAL(req->out.hdr,	SMB2_HDR_TID,	io->smb2.out.tid);
 
 	SSVAL(req->out.body,	0x02,		io->smb2.out.unknown1);
 	SIVAL(req->out.body,	0x04,		io->smb2.out.unknown2);



More information about the samba-cvs mailing list