mirror of
https://github.com/samba-team/samba.git
synced 2025-11-29 16:23:52 +03:00
r17451: Change pdb_getgrsid not to take a DOM_SID but a const DOM_SID * as an
argument. Volker
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
4f6605a488
commit
873a5a1211
@@ -1730,7 +1730,7 @@ NTSTATUS _lsa_setsystemaccount(pipes_struct *p, LSA_Q_SETSYSTEMACCOUNT *q_u, LSA
|
||||
if ( !nt_token_check_domain_rid( p->pipe_user.nt_user_token, DOMAIN_GROUP_RID_ADMINS ) )
|
||||
return NT_STATUS_ACCESS_DENIED;
|
||||
|
||||
if (!pdb_getgrsid(&map, info->sid))
|
||||
if (!pdb_getgrsid(&map, &info->sid))
|
||||
return NT_STATUS_NO_SUCH_GROUP;
|
||||
|
||||
return pdb_update_group_mapping_entry(&map);
|
||||
|
||||
Reference in New Issue
Block a user