summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-10 10:31:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:59 -0500
commit29f3389fc065228d90ec85d7bde2babd10e6562e (patch)
tree39a982e65958f1f7a9696743dbc0167c8acc9a71
parent627f49d8c95400cc041a61b0a6526ba5a0eb8b4b (diff)
downloadsamba-29f3389fc065228d90ec85d7bde2babd10e6562e.tar.gz
samba-29f3389fc065228d90ec85d7bde2babd10e6562e.tar.bz2
samba-29f3389fc065228d90ec85d7bde2babd10e6562e.zip
r16911: the TID is only 32 bits...don't overwrite parts of the UID field
metze (This used to be commit 7db393e5ea15dd363f83dcf5eb299f2806971f97)
-rw-r--r--source4/smb_server/smb2/tcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb2/tcon.c b/source4/smb_server/smb2/tcon.c
index 38bf4d7ef0..38a54bb8f6 100644
--- a/source4/smb_server/smb2/tcon.c
+++ b/source4/smb_server/smb2/tcon.c
@@ -277,7 +277,7 @@ static void smb2srv_tcon_send(struct smb2srv_request *req, union smb_tcon *io)
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);