summaryrefslogtreecommitdiffstats
path: root/source3/utils/net_groupmap.c
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/utils/net_groupmap.c
parent5ea88420da78589b3d52addcd8cce119968f0f73 (diff)
downloadsamba-a51e6ce43cbc576a1352b0eccdab2f5c7f1bc2c2.tar.gz
samba-a51e6ce43cbc576a1352b0eccdab2f5c7f1bc2c2.tar.xz
samba-a51e6ce43cbc576a1352b0eccdab2f5c7f1bc2c2.zip
Pass a talloc_ctx to pdb_enum_aliasmem
Diffstat (limited to 'source3/utils/net_groupmap.c')
-rw-r--r--source3/utils/net_groupmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_groupmap.c b/source3/utils/net_groupmap.c
index 061ffea029..a00784e133 100644
--- a/source3/utils/net_groupmap.c
+++ b/source3/utils/net_groupmap.c
@@ -732,7 +732,8 @@ static int net_groupmap_listmem(struct net_context *c, int argc, const char **ar
members = NULL;
num = 0;
- if (!NT_STATUS_IS_OK(pdb_enum_aliasmem(&alias, &members, &num))) {
+ if (!NT_STATUS_IS_OK(pdb_enum_aliasmem(&alias, talloc_tos(),
+ &members, &num))) {
d_fprintf(stderr, "Could not list members for sid %s\n", argv[0]);
return -1;
}