From 9746cdfc0745a97d9aa65945342ed88b64268346 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 13 Apr 2020 15:28:01 -0700 Subject: [PATCH] s3: pysmbd. Change SMB_VFS_GET_NT_ACL() to SMB_VFS_GET_NT_ACL_AT() in get_nt_acl_conn(). Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- source3/smbd/pysmbd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source3/smbd/pysmbd.c b/source3/smbd/pysmbd.c index bc93ce7022d..d5a1bd99bff 100644 --- a/source3/smbd/pysmbd.c +++ b/source3/smbd/pysmbd.c @@ -271,13 +271,15 @@ static NTSTATUS get_nt_acl_conn(TALLOC_CTX *mem_ctx, return NT_STATUS_NO_MEMORY; } - status = SMB_VFS_GET_NT_ACL(conn, + status = SMB_VFS_GET_NT_ACL_AT(conn, + conn->cwd_fsp, smb_fname, security_info_wanted, mem_ctx, sd); if (!NT_STATUS_IS_OK(status)) { - DEBUG(0,("get_nt_acl_conn: get_nt_acl returned %s.\n", nt_errstr(status))); + DBG_ERR("get_nt_acl_at returned %s.\n", + nt_errstr(status)); } TALLOC_FREE(frame); -- 2.47.3