mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
smbd: use smb1_strip_dfs_path() in reply_mv()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
c44491676e
commit
c3a87ffb63
@ -6225,6 +6225,11 @@ void reply_mv(struct smb_request *req)
|
||||
if (src_ucf_flags & UCF_GMT_PATHNAME) {
|
||||
extract_snapshot_token(name, &src_twrp);
|
||||
}
|
||||
status = smb1_strip_dfs_path(ctx, &src_ucf_flags, &name);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
reply_nterror(req, status);
|
||||
goto out;
|
||||
}
|
||||
status = filename_convert_dirfsp(ctx,
|
||||
conn,
|
||||
name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user