]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: acl_common. s3: smbd: Change SMB_VFS_GET_NT_ACL() -> SMB_VFS_GET_NT_ACL_AT...
authorJeremy Allison <jra@samba.org>
Tue, 14 Apr 2020 19:46:38 +0000 (12:46 -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/modules/vfs_acl_common.c

index 71a48163b701cdeb38936c5f1967053a6a25389d..81e3e343eb6f7ce40c37690d30d44d1429198466 100644 (file)
@@ -538,11 +538,12 @@ static NTSTATUS validate_nt_acl_blob(TALLOC_CTX *mem_ctx,
                                                          mem_ctx,
                                                          &psd_fs);
                } else {
-                       status = SMB_VFS_NEXT_GET_NT_ACL(handle,
-                                                        smb_fname,
-                                                        HASH_SECURITY_INFO,
-                                                        mem_ctx,
-                                                        &psd_fs);
+                       status = SMB_VFS_NEXT_GET_NT_ACL_AT(handle,
+                                                       dirfsp,
+                                                       smb_fname,
+                                                       HASH_SECURITY_INFO,
+                                                       mem_ctx,
+                                                       &psd_fs);
                }
 
                if (!NT_STATUS_IS_OK(status)) {