diff options
author | Volker Lendecke <vl@samba.org> | 2009-06-08 19:43:01 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-06-08 21:14:10 +0200 |
commit | a51e6ce43cbc576a1352b0eccdab2f5c7f1bc2c2 (patch) | |
tree | 5a0c92a72764d1724d2ee23c94df7271c8e54598 /source3/utils | |
parent | 5ea88420da78589b3d52addcd8cce119968f0f73 (diff) | |
download | samba-a51e6ce43cbc576a1352b0eccdab2f5c7f1bc2c2.tar.gz samba-a51e6ce43cbc576a1352b0eccdab2f5c7f1bc2c2.tar.bz2 samba-a51e6ce43cbc576a1352b0eccdab2f5c7f1bc2c2.zip |
Pass a talloc_ctx to pdb_enum_aliasmem
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_groupmap.c | 3 | ||||
-rw-r--r-- | source3/utils/net_sam.c | 3 |
2 files changed, 4 insertions, 2 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; } diff --git a/source3/utils/net_sam.c b/source3/utils/net_sam.c index 45dfb61cef..5f41f21aaa 100644 --- a/source3/utils/net_sam.c +++ b/source3/utils/net_sam.c @@ -1233,7 +1233,8 @@ static int net_sam_listmem(struct net_context *c, int argc, const char **argv) DOM_SID *members = NULL; size_t i, num_members = 0; - status = pdb_enum_aliasmem(&group, &members, &num_members); + status = pdb_enum_aliasmem(&group, talloc_tos(), &members, + &num_members); if (!NT_STATUS_IS_OK(status)) { d_fprintf(stderr, "Listing group members failed with " |