From: Jeremy Allison Date: Tue, 14 Apr 2020 04:27:34 +0000 (-0700) Subject: s3: smbd: Change SMB_VFS_GET_NT_ACL() -> SMB_VFS_GET_NT_ACL_AT() in smbd_check_access... X-Git-Tag: ldb-2.2.0~593 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dbfccb9f49fc96d13297fd69369bc233f591fd13;p=thirdparty%2Fsamba.git 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 --- 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; }