summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-07-25 10:58:34 +0200
committerStefan Metzmacher <metze@samba.org>2012-07-25 12:15:05 +0200
commit56aa419d87e8f0a82ebe2110b128fa512cd1e2c6 (patch)
treec815483cfe369cd383c6bc59eaceee090c09c072 /source4/libcli/smb2
parent7de4ae7f9fbf642899afd8c89d0b3af72155e022 (diff)
downloadsamba-56aa419d87e8f0a82ebe2110b128fa512cd1e2c6.tar.gz
samba-56aa419d87e8f0a82ebe2110b128fa512cd1e2c6.tar.bz2
samba-56aa419d87e8f0a82ebe2110b128fa512cd1e2c6.zip
libcli/smb: there's no PID field in the SMB2/3 header anymore
It's a reserved field... metze
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r--source4/libcli/smb2/transport.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/libcli/smb2/transport.c b/source4/libcli/smb2/transport.c
index 423b634765..b99299e31e 100644
--- a/source4/libcli/smb2/transport.c
+++ b/source4/libcli/smb2/transport.c
@@ -115,7 +115,6 @@ void smb2_transport_send(struct smb2_request *req)
uint16_t cmd = SVAL(req->out.hdr, SMB2_HDR_OPCODE);
uint32_t additional_flags = IVAL(req->out.hdr, SMB2_HDR_FLAGS);
uint32_t clear_flags = 0;
- uint32_t pid = IVAL(req->out.hdr, SMB2_HDR_PID);
struct smbXcli_tcon *tcon = NULL;
struct smbXcli_session *session = NULL;
bool need_pending_break = false;
@@ -147,7 +146,6 @@ void smb2_transport_send(struct smb2_request *req)
0, /* additional_flags */
0, /*clear_flags */
0, /* timeout_msec */
- 0, /* pid */
NULL, /* tcon */
NULL, /* session */
NULL, /* body */
@@ -189,7 +187,6 @@ void smb2_transport_send(struct smb2_request *req)
additional_flags,
clear_flags,
timeout_msec,
- pid,
tcon,
session,
body.data, body.length,
@@ -345,7 +342,6 @@ static void smb2_transport_break_handler(struct tevent_req *subreq)
0, /* additional_flags */
0, /*clear_flags */
0, /* timeout_msec */
- 0, /* pid */
NULL, /* tcon */
NULL, /* session */
NULL, /* body */