1
0
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:
Ralph Boehme 2021-01-22 14:49:01 +01:00 committed by Jeremy Allison
parent f6f4baf919
commit 1c60b516a1

View File

@ -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)) {