summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_samr_nt.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-01-15 20:47:30 +0000
committerGerald Carter <jerry@samba.org>2004-01-15 20:47:30 +0000
commit418052559979d350f44f1dd792c720b12f7082ef (patch)
treea4005bb8e204eebefc93be4ea30644382b6ca7b3 /source3/rpc_server/srv_samr_nt.c
parent1c3ade4108837cf43d00b5f4f1513b09a450e7d0 (diff)
downloadsamba-418052559979d350f44f1dd792c720b12f7082ef.tar.gz
samba-418052559979d350f44f1dd792c720b12f7082ef.tar.bz2
samba-418052559979d350f44f1dd792c720b12f7082ef.zip
Bug 381: check builtin (not local) group SID. Patch from Jianliang Lu <j.lu@tiesse.com>
(This used to be commit 2fd2c07df42df42103e81f5eb39bd1778de6ca0a)
Diffstat (limited to 'source3/rpc_server/srv_samr_nt.c')
-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 b9974cba8a..f189587e85 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -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