summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-01-15 20:51:31 +0000
committerGerald Carter <jerry@samba.org>2004-01-15 20:51:31 +0000
commite51bba51a38f736b5eee011208a2664978dd8f70 (patch)
tree747b5601a3d1686555ee19cb21d91a40d6a10875 /source3
parente367f403851ba3bdb1912fb6c89c478241c016d4 (diff)
downloadsamba-e51bba51a38f736b5eee011208a2664978dd8f70.tar.gz
samba-e51bba51a38f736b5eee011208a2664978dd8f70.tar.bz2
samba-e51bba51a38f736b5eee011208a2664978dd8f70.zip
Bug 381: check builtin (not local) group SID. Patch from Jianliang Lu <j.lu@tiesse.com>
(This used to be commit 59cabc5b940990352ebd0ceef8b6e85ac04669c4)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_samr_nt.c2
1 files changed, 1 insertions, 1 deletions
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