diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-07 15:59:05 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-09-07 18:19:43 +0200 |
commit | 9005e0f7b36771df0da96764841a32d5a1627aca (patch) | |
tree | f2b51a5953617db52a32020fe3aeaf07db5cf51e /source3 | |
parent | 2ec0634f288929fb43fe379cda8e15a8bc028677 (diff) | |
download | samba-9005e0f7b36771df0da96764841a32d5a1627aca.tar.gz samba-9005e0f7b36771df0da96764841a32d5a1627aca.tar.bz2 samba-9005e0f7b36771df0da96764841a32d5a1627aca.zip |
s3:smb2cli: let smb2cli_req_create() use the give pid, uid and tid values
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Sep 7 18:19:43 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/smb2cli_base.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/smb2cli_base.c b/source3/libsmb/smb2cli_base.c index 7f4b176572..5089aa9469 100644 --- a/source3/libsmb/smb2cli_base.c +++ b/source3/libsmb/smb2cli_base.c @@ -219,9 +219,9 @@ struct tevent_req *smb2cli_req_create(TALLOC_CTX *mem_ctx, SSVAL(state->hdr, SMB2_HDR_OPCODE, cmd); SSVAL(state->hdr, SMB2_HDR_CREDIT, 31); SIVAL(state->hdr, SMB2_HDR_FLAGS, flags); - SIVAL(state->hdr, SMB2_HDR_PID, cli->smb2.pid); - SIVAL(state->hdr, SMB2_HDR_TID, cli->smb2.tid); - SBVAL(state->hdr, SMB2_HDR_SESSION_ID, cli->smb2.uid); + SIVAL(state->hdr, SMB2_HDR_PID, pid); + SIVAL(state->hdr, SMB2_HDR_TID, tid); + SBVAL(state->hdr, SMB2_HDR_SESSION_ID, uid); return req; } |