diff options
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/raw/clitree.c | 4 | ||||
-rw-r--r-- | source4/libcli/raw/interfaces.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/source4/libcli/raw/clitree.c b/source4/libcli/raw/clitree.c index c232b51055..a47b395a6b 100644 --- a/source4/libcli/raw/clitree.c +++ b/source4/libcli/raw/clitree.c @@ -118,6 +118,10 @@ NTSTATUS smb_raw_tcon_recv(struct smbcli_request *req, TALLOC_CTX *mem_ctx, if (req->in.wct >= 3) { parms->tconx.out.options = SVAL(req->in.vwv, VWV(2)); } + if (req->in.wct >= 7) { + parms->tconx.out.max_access = IVAL(req->in.vwv, VWV(3)); + parms->tconx.out.guest_max_access = IVAL(req->in.vwv, VWV(5)); + } /* output is actual service name */ p = req->in.data; diff --git a/source4/libcli/raw/interfaces.h b/source4/libcli/raw/interfaces.h index 05dea500be..547f8a9a63 100644 --- a/source4/libcli/raw/interfaces.h +++ b/source4/libcli/raw/interfaces.h @@ -283,6 +283,8 @@ union smb_tcon { } in; struct { uint16_t options; + uint32_t max_access; + uint32_t guest_max_access; char *dev_type; char *fs_type; uint16_t tid; |