mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
smbd: use real dirfsp for SMB_VFS_CREATE_DFS_PATHAT() in create_msdfs_link()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
f6f4baf919
commit
1c60b516a1
@ -1421,8 +1421,8 @@ bool create_msdfs_link(const struct junction_map *jucn,
|
||||
}
|
||||
|
||||
status = SMB_VFS_CREATE_DFS_PATHAT(conn,
|
||||
conn->cwd_fsp,
|
||||
smb_fname,
|
||||
parent_fname->fsp,
|
||||
at_fname,
|
||||
jucn->referral_list,
|
||||
jucn->referral_count);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
@ -1436,8 +1436,8 @@ bool create_msdfs_link(const struct junction_map *jucn,
|
||||
}
|
||||
}
|
||||
status = SMB_VFS_CREATE_DFS_PATHAT(conn,
|
||||
conn->cwd_fsp,
|
||||
smb_fname,
|
||||
parent_fname->fsp,
|
||||
at_fname,
|
||||
jucn->referral_list,
|
||||
jucn->referral_count);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
|
Loading…
Reference in New Issue
Block a user