mirror of
https://github.com/samba-team/samba.git
synced 2025-08-29 13:49:30 +03:00
s3: smbd: open_directory(), smbd_check_access_rights() -> smbd_check_access_rights_fsp().
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
committed by
Ralph Boehme
parent
11910757c6
commit
af291abefa
@ -4652,9 +4652,7 @@ static NTSTATUS open_directory(connection_struct *conn,
|
||||
}
|
||||
|
||||
if (info == FILE_WAS_OPENED) {
|
||||
status = smbd_check_access_rights(conn,
|
||||
conn->cwd_fsp,
|
||||
smb_dname,
|
||||
status = smbd_check_access_rights_fsp(fsp,
|
||||
false,
|
||||
access_mask);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
|
Reference in New Issue
Block a user