mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
smbd: fix group marshalling in smb3_file_posix_information_init
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
d57f3bdcd3
commit
45643c703b
@ -49,7 +49,7 @@ void smb3_file_posix_information_init(
|
||||
uid_to_sid(&dst->cc.owner, st->st_ex_uid);
|
||||
}
|
||||
if (st->st_ex_gid != (uid_t)-1) {
|
||||
uid_to_sid(&dst->cc.owner, st->st_ex_gid);
|
||||
gid_to_sid(&dst->cc.group, st->st_ex_gid);
|
||||
}
|
||||
|
||||
switch (st->st_ex_mode & S_IFMT) {
|
||||
|
Loading…
Reference in New Issue
Block a user