diff options
Diffstat (limited to 'source3/smbd/dir.c')
-rw-r--r-- | source3/smbd/dir.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index cc74886810..8af0dad8c3 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -1161,7 +1161,9 @@ static bool user_can_read_file(connection_struct *conn, return True; } - return can_access_file_acl(conn, smb_fname, FILE_READ_DATA); + return NT_STATUS_IS_OK(smbd_check_access_rights(conn, + smb_fname, + FILE_READ_DATA)); } /******************************************************************* |