mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
s3: VFS: shadow_copy2. Ensure read_dfs_pathat() returns stat info.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14391 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
636c83741a
commit
50cb3ef0ae
@ -2441,6 +2441,11 @@ static NTSTATUS shadow_copy2_read_dfs_pathat(struct vfs_handle_struct *handle,
|
|||||||
ppreflist,
|
ppreflist,
|
||||||
preferral_count);
|
preferral_count);
|
||||||
|
|
||||||
|
if (NT_STATUS_IS_OK(status)) {
|
||||||
|
/* Return any stat(2) info. */
|
||||||
|
smb_fname->st = conv->st;
|
||||||
|
}
|
||||||
|
|
||||||
TALLOC_FREE(conv);
|
TALLOC_FREE(conv);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user