From dbfccb9f49fc96d13297fd69369bc233f591fd13 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 13 Apr 2020 21:27:34 -0700 Subject: [PATCH] s3: smbd: Change SMB_VFS_GET_NT_ACL() -> SMB_VFS_GET_NT_ACL_AT() in smbd_check_access_rights(). Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- source3/smbd/open.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 70eb5b102be..95397738d9a 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -307,17 +307,18 @@ NTSTATUS check_parent_access(struct connection_struct *conn, goto out; } - status = SMB_VFS_GET_NT_ACL(conn, + status = SMB_VFS_GET_NT_ACL_AT(conn, + dirfsp, parent_dir, SECINFO_DACL, frame, &parent_sd); if (!NT_STATUS_IS_OK(status)) { - DEBUG(5,("check_parent_access: SMB_VFS_GET_NT_ACL failed for " + DBG_INFO("SMB_VFS_GET_NT_ACL_AT failed for " "%s with error %s\n", smb_fname_str_dbg(parent_dir), - nt_errstr(status))); + nt_errstr(status)); goto out; } -- 2.47.3