summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-08 19:43:01 +0200
committerVolker Lendecke <vl@samba.org>2009-06-08 21:14:10 +0200
commita51e6ce43cbc576a1352b0eccdab2f5c7f1bc2c2 (patch)
tree5a0c92a72764d1724d2ee23c94df7271c8e54598 /source3/rpc_server
parent5ea88420da78589b3d52addcd8cce119968f0f73 (diff)
downloadsamba-a51e6ce43cbc576a1352b0eccdab2f5c7f1bc2c2.tar.gz
samba-a51e6ce43cbc576a1352b0eccdab2f5c7f1bc2c2.tar.bz2
samba-a51e6ce43cbc576a1352b0eccdab2f5c7f1bc2c2.zip
Pass a talloc_ctx to pdb_enum_aliasmem
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_samr_nt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index fba1fc6fa1..da649f98d9 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -5265,7 +5265,8 @@ NTSTATUS _samr_GetMembersInAlias(pipes_struct *p,
DEBUG(10, ("sid is %s\n", sid_string_dbg(&ainfo->sid)));
become_root();
- status = pdb_enum_aliasmem(&ainfo->sid, &pdb_sids, &num_sids);
+ status = pdb_enum_aliasmem(&ainfo->sid, talloc_tos(), &pdb_sids,
+ &num_sids);
unbecome_root();
if (!NT_STATUS_IS_OK(status)) {