diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-07-24 08:54:02 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-07-24 18:44:03 +0200 |
commit | a6e5b98827c9a85a8e062ed9dba10e1205801135 (patch) | |
tree | 1579fbe634179181b3ece858b63a2c15bc06f1b6 /source4 | |
parent | d00d20626f54e87c5d51624eae6be334b88eb49a (diff) | |
download | samba-a6e5b98827c9a85a8e062ed9dba10e1205801135.tar.gz samba-a6e5b98827c9a85a8e062ed9dba10e1205801135.tar.xz samba-a6e5b98827c9a85a8e062ed9dba10e1205801135.zip |
s4:libcli/raw: fix SMBtconX response parsing
metze
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/raw/clitree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/raw/clitree.c b/source4/libcli/raw/clitree.c index cee1cd0bf04..c232b510555 100644 --- a/source4/libcli/raw/clitree.c +++ b/source4/libcli/raw/clitree.c @@ -115,8 +115,8 @@ NTSTATUS smb_raw_tcon_recv(struct smbcli_request *req, TALLOC_CTX *mem_ctx, case RAW_TCON_TCONX: ZERO_STRUCT(parms->tconx.out); parms->tconx.out.tid = SVAL(req->in.hdr, HDR_TID); - if (req->in.wct >= 4) { - parms->tconx.out.options = SVAL(req->in.vwv, VWV(3)); + if (req->in.wct >= 3) { + parms->tconx.out.options = SVAL(req->in.vwv, VWV(2)); } /* output is actual service name */ |