diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-11-11 14:13:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:13 -0500 |
commit | b034156bd5920557ac175236dab113b971d72baf (patch) | |
tree | 1bebbfc710e8d7a3d50ebfec0ac74377d49f1df5 /source4/libcli/smb2 | |
parent | 461ccc557b7cc4ed8b0a3f9fc9aa5f03eccbc656 (diff) | |
download | samba-b034156bd5920557ac175236dab113b971d72baf.tar.gz samba-b034156bd5920557ac175236dab113b971d72baf.tar.bz2 samba-b034156bd5920557ac175236dab113b971d72baf.zip |
r11682: filled in access_mask in tcon reply
(This used to be commit 173a213f915aa929cc2a6bfef06954e665b3d694)
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r-- | source4/libcli/smb2/smb2_calls.h | 2 | ||||
-rw-r--r-- | source4/libcli/smb2/tcon.c | 8 |
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); } |