mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
smbd: use smb1_strip_dfs_path() in call_trans2qpathinfo()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
96765e535d
commit
adb34770fc
@ -2647,6 +2647,11 @@ static void call_trans2qpathinfo(
|
||||
if (ucf_flags & UCF_GMT_PATHNAME) {
|
||||
extract_snapshot_token(fname, &twrp);
|
||||
}
|
||||
status = smb1_strip_dfs_path(req, &ucf_flags, &fname);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
reply_nterror(req, status);
|
||||
return;
|
||||
}
|
||||
status = filename_convert_dirfsp(req,
|
||||
conn,
|
||||
fname,
|
||||
|
Loading…
Reference in New Issue
Block a user