[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Fri Jun 7 18:31:01 UTC 2024


The branch, master has been updated
       via  a9b3522f53a smbd: Ensure we grant owner sid in check_parent_access_fsp()
      from  5d73bb4acd7 s3:utils: Use talloc instead of malloc functions

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit a9b3522f53aa2e6151cf83f1eeb65e3adea2b1d0
Author: MikeLiu <mikeliu at qnap.com>
Date:   Fri May 31 15:31:46 2024 +0800

    smbd: Ensure we grant owner sid in check_parent_access_fsp()
    
    Grant owner sid to check for owner rights.
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=15648
    
    Signed-off-by: MikeLiu <mikeliu at qnap.com>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Fri Jun  7 18:30:34 UTC 2024 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/open.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index f714b75d472..7d2227f9d9f 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -355,7 +355,7 @@ NTSTATUS check_parent_access_fsp(struct files_struct *fsp,
 	}
 
 	status = SMB_VFS_FGET_NT_ACL(fsp,
-				SECINFO_DACL,
+				(SECINFO_OWNER | SECINFO_GROUP | SECINFO_DACL),
 				frame,
 				&parent_sd);
 


-- 
Samba Shared Repository



More information about the samba-cvs mailing list