1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

s4:libcli/raw: fix SMBtconX response parsing

metze
This commit is contained in:
Stefan Metzmacher
2012-07-24 08:54:02 +02:00
parent d00d20626f
commit a6e5b98827

View File

@ -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 */