1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-26 01:49:31 +03:00

s3: smbd: open_directory(). Start passing a real parent dirfsp to smbd_calculate_access_mask_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison
2021-06-08 12:02:16 -07:00
committed by Ralph Boehme
parent eea3a3c156
commit 7d4f4c8326

View File

@ -4405,7 +4405,7 @@ static NTSTATUS open_directory(connection_struct *conn,
create_disposition,
file_attributes);
status = smbd_calculate_access_mask_fsp(conn->cwd_fsp,
status = smbd_calculate_access_mask_fsp(parent_dir_fname->fsp,
smb_dname->fsp,
false,
access_mask,