mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
smbd: put back code to fill in user and group SID
This is accidentally removed by 6874ed6a9d
.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Oct 18 16:46:00 UTC 2023 on atb-devel-224
This commit is contained in:
parent
14600a3128
commit
52fd0d79ab
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user