mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
s3: VFS: fruit: fruit_freaddir_attr(), smbd_calculate_access_mask() -> 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:
parent
7c80e0856a
commit
3293cc8d75
@ -4269,10 +4269,7 @@ static NTSTATUS fruit_freaddir_attr(struct vfs_handle_struct *handle,
|
||||
if (!config->readdir_attr_max_access) {
|
||||
attr_data->attr_data.aapl.max_access = FILE_GENERIC_ALL;
|
||||
} else {
|
||||
status = smbd_calculate_access_mask(
|
||||
handle->conn,
|
||||
handle->conn->cwd_fsp,
|
||||
fsp->fsp_name,
|
||||
status = smbd_calculate_access_mask_fsp(fsp,
|
||||
false,
|
||||
SEC_FLAG_MAXIMUM_ALLOWED,
|
||||
&attr_data->attr_data.aapl.max_access);
|
||||
|
Loading…
Reference in New Issue
Block a user