mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
merge alt_name patch from head
(This used to be commit 20ebdee36d5351731698bdef6602fc73a45b1651)
This commit is contained in:
parent
f504cc4e10
commit
42d9c73424
@ -727,7 +727,7 @@ NTSTATUS cli_qpathinfo_alt_name(struct cli_state *cli, const char *fname, fstrin
|
|||||||
return NT_STATUS_INVALID_NETWORK_RESPONSE;
|
return NT_STATUS_INVALID_NETWORK_RESPONSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
clistr_pull(cli, alt_name, rdata+4, sizeof(fstring), len, 0);
|
clistr_pull(cli, alt_name, rdata+4, sizeof(fstring), len, STR_UNICODE);
|
||||||
|
|
||||||
SAFE_FREE(rdata);
|
SAFE_FREE(rdata);
|
||||||
SAFE_FREE(rparam);
|
SAFE_FREE(rparam);
|
||||||
|
@ -1794,7 +1794,7 @@ static int call_trans2qfilepathinfo(connection_struct *conn,
|
|||||||
if(!mangle_is_8_3(short_name, True)) {
|
if(!mangle_is_8_3(short_name, True)) {
|
||||||
mangle_map(short_name,True,True,SNUM(conn));
|
mangle_map(short_name,True,True,SNUM(conn));
|
||||||
}
|
}
|
||||||
len = srvstr_push(outbuf, pdata+4, short_name, -1, STR_TERMINATE|STR_UPPER);
|
len = srvstr_push(outbuf, pdata+4, short_name, -1, STR_UNICODE);
|
||||||
data_size = 4 + len;
|
data_size = 4 + len;
|
||||||
SIVAL(pdata,0,len);
|
SIVAL(pdata,0,len);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user