The branch, master has been updated
       via  52fd0d79ab0 smbd: put back code to fill in user and group SID
      from  14600a3128c s3:libads: Improve logging for failover scenarios

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


- Log -----------------------------------------------------------------
commit 52fd0d79ab0ca65e94d9dc6908faa42a75103e6e
Author: Ralph Boehme <[email protected]>
Date:   Wed Oct 18 15:32:03 2023 +0200

    smbd: put back code to fill in user and group SID
    
    This is accidentally removed by 6874ed6a9defdf6f842e1e25f1ffd95708534ca6.
    
    Signed-off-by: Ralph Boehme <[email protected]>
    Reviewed-by: Volker Lendecke <[email protected]>
    
    Autobuild-User(master): Volker Lendecke <[email protected]>
    Autobuild-Date(master): Wed Oct 18 16:46:00 UTC 2023 on atb-devel-224

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

Summary of changes:
 source3/smbd/smb2_create.c | 3 +++
 1 file changed, 3 insertions(+)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index d71dfc3083f..94e73b0a27c 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -1673,6 +1673,9 @@ static void smbd_smb2_create_after_exec(struct tevent_req 
*req)
                };
                enum ndr_err_code ndr_err;
 
+               uid_to_sid(&cc.owner, psbuf->st_ex_uid);
+               gid_to_sid(&cc.group, psbuf->st_ex_gid);
+
                ndr_err =
                        ndr_push_smb3_posix_cc_info(&ndr,
                                                    NDR_SCALARS | NDR_BUFFERS,


-- 
Samba Shared Repository

Reply via email to