1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Be able to set alias info for builtin as well.

Volker
This commit is contained in:
Volker Lendecke 0001-01-01 00:00:00 +00:00
parent d713e76a24
commit 7a947ecdf5

View File

@ -4116,7 +4116,8 @@ NTSTATUS _samr_set_aliasinfo(pipes_struct *p, SAMR_Q_SET_ALIASINFO *q_u, SAMR_R_
return r_u->status;
}
if (!get_local_group_from_sid(&group_sid, &map))
if (!get_local_group_from_sid(&group_sid, &map) &&
!get_builtin_group_from_sid(&group_sid, &map))
return NT_STATUS_NO_SUCH_GROUP;
ctr=&q_u->ctr;