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

Bug 381: check builtin (not local) group SID. Patch from Jianliang Lu <j.lu@tiesse.com>

(This used to be commit 2fd2c07df4)
This commit is contained in:
Gerald Carter 2004-01-15 20:47:30 +00:00
parent 1c3ade4108
commit 4180525599

View File

@ -3354,7 +3354,7 @@ NTSTATUS _samr_add_aliasmem(pipes_struct *p, SAMR_Q_ADD_ALIASMEM *q_u, SAMR_R_AD
} else {
if (sid_compare(&alias_sid, &global_sid_Builtin)>0) {
DEBUG(10, ("adding member on BUILTIN SID\n"));
if( !get_local_group_from_sid(&alias_sid, &map))
if( !get_builtin_group_from_sid(&alias_sid, &map))
return NT_STATUS_NO_SUCH_ALIAS;
} else