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:
@ -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 */
|
||||
|
Reference in New Issue
Block a user