1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

We have to hand out info on Builtin here as well. They are stored in

group mapping not as local, but as WKN_GRP.

Volker
This commit is contained in:
Volker Lendecke 0001-01-01 00:00:00 +00:00
parent d83cae2bbd
commit cb05dcab2d

View File

@ -1328,7 +1328,7 @@ NTSTATUS _samr_query_aliasinfo(pipes_struct *p, SAMR_Q_QUERY_ALIASINFO *q_u, SAM
!sid_check_is_in_builtin(&sid))
return NT_STATUS_OBJECT_TYPE_MISMATCH;
if (!get_local_group_from_sid(sid, &map, MAPPING_WITHOUT_PRIV))
if (!get_group_map_from_sid(sid, &map, MAPPING_WITHOUT_PRIV))
return NT_STATUS_NO_SUCH_ALIAS;
switch (q_u->switch_level) {