mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3: VFS: catia. 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
c4f5dfeef6
commit
d9f5e36538
@ -2451,6 +2451,11 @@ static NTSTATUS catia_read_dfs_pathat(struct vfs_handle_struct *handle,
|
||||
mapped_smb_fname,
|
||||
ppreflist,
|
||||
preferral_count);
|
||||
if (NT_STATUS_IS_OK(status)) {
|
||||
/* Return any stat(2) info. */
|
||||
smb_fname->st = mapped_smb_fname->st;
|
||||
}
|
||||
|
||||
TALLOC_FREE(mapped_name);
|
||||
TALLOC_FREE(mapped_smb_fname);
|
||||
return status;
|
||||
|
Loading…
Reference in New Issue
Block a user