From e51bba51a38f736b5eee011208a2664978dd8f70 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 15 Jan 2004 20:51:31 +0000 Subject: Bug 381: check builtin (not local) group SID. Patch from Jianliang Lu (This used to be commit 59cabc5b940990352ebd0ceef8b6e85ac04669c4) --- source3/rpc_server/srv_samr_nt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/rpc_server/srv_samr_nt.c') diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index 7edd34c8dd..082e550928 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -3365,7 +3365,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 -- cgit