]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: Change SMB_VFS_GET_NT_ACL() -> SMB_VFS_GET_NT_ACL_AT() in user_can_read_file().
authorJeremy Allison <jra@samba.org>
Mon, 13 Apr 2020 22:01:35 +0000 (15:01 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 7 May 2020 19:27:36 +0000 (19:27 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/dir.c

index df6dc1b0b843fcb2a444db9d6e11de95a37cc3fc..c50086574700bcf6c168ccbbd2a3501f087a7100 100644 (file)
@@ -1120,7 +1120,8 @@ static bool user_can_read_file(connection_struct *conn,
                return false;
         }
 
-       status = SMB_VFS_GET_NT_ACL(conn,
+       status = SMB_VFS_GET_NT_ACL_AT(conn,
+                       dirfsp,
                        smb_fname,
                        (SECINFO_OWNER |
                         SECINFO_GROUP |