summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r--source4/libcli/smb2/smb2_calls.h2
-rw-r--r--source4/libcli/smb2/tcon.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/source4/libcli/smb2/smb2_calls.h b/source4/libcli/smb2/smb2_calls.h
index 639a9c47c3..bb27716a34 100644
--- a/source4/libcli/smb2/smb2_calls.h
+++ b/source4/libcli/smb2/smb2_calls.h
@@ -70,7 +70,7 @@ struct smb2_tree_connect {
uint32_t unknown1; /* 0x00020010 */
uint32_t unknown2; /* 0x00 */
uint32_t unknown3; /* 0x00 */
- uint32_t unknown4; /* 0x1f01ff */ /* capabilities?? */
+ uint32_t access_mask;
uint32_t tid;
} out;
};
diff --git a/source4/libcli/smb2/tcon.c b/source4/libcli/smb2/tcon.c
index b339d6473e..88a2d0a67d 100644
--- a/source4/libcli/smb2/tcon.c
+++ b/source4/libcli/smb2/tcon.c
@@ -95,10 +95,10 @@ NTSTATUS smb2_tree_connect_recv(struct smb2_request *req, struct smb2_tree_conne
io->out.tid = IVAL(req->in.hdr, SMB2_HDR_TID);
- io->out.unknown1 = IVAL(req->in.body, 0x00);
- io->out.unknown2 = IVAL(req->in.body, 0x04);
- io->out.unknown3 = IVAL(req->in.body, 0x08);
- io->out.unknown4 = IVAL(req->in.body, 0x0C);
+ io->out.unknown1 = IVAL(req->in.body, 0x00);
+ io->out.unknown2 = IVAL(req->in.body, 0x04);
+ io->out.unknown3 = IVAL(req->in.body, 0x08);
+ io->out.access_mask = IVAL(req->in.body, 0x0C);
return smb2_request_destroy(req);
}