diff options
author | Steven Danneman <steven.danneman@isilon.com> | 2009-11-18 16:35:16 -0800 |
---|---|---|
committer | Steven Danneman <steven.danneman@isilon.com> | 2009-11-25 12:55:47 -0800 |
commit | 65a611ec7299ba992d16dff69da47b1b8e16241d (patch) | |
tree | 9c890834c3ae965daf6d0ee3e545080016d38338 /source4/libcli/smb2/request.c | |
parent | 95108f1c60aaa0407aa4eb8c9a567e90302253c6 (diff) | |
download | samba-65a611ec7299ba992d16dff69da47b1b8e16241d.tar.gz samba-65a611ec7299ba992d16dff69da47b1b8e16241d.tar.xz samba-65a611ec7299ba992d16dff69da47b1b8e16241d.zip |
s4/libcli: Initialize client PID for SMB2 connections
Set the SMB pid to the Unix pid of the client process.
Diffstat (limited to 'source4/libcli/smb2/request.c')
-rw-r--r-- | source4/libcli/smb2/request.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/smb2/request.c b/source4/libcli/smb2/request.c index 5d09a5083a4..358d13363f0 100644 --- a/source4/libcli/smb2/request.c +++ b/source4/libcli/smb2/request.c @@ -175,6 +175,7 @@ struct smb2_request *smb2_request_init_tree(struct smb2_tree *tree, uint16_t opc if (req == NULL) return NULL; SBVAL(req->out.hdr, SMB2_HDR_SESSION_ID, tree->session->uid); + SIVAL(req->out.hdr, SMB2_HDR_PID, tree->session->pid); SIVAL(req->out.hdr, SMB2_HDR_TID, tree->tid); req->session = tree->session; req->tree = tree; |