summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_autorid_tdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/winbindd/idmap_autorid_tdb.c b/source3/winbindd/idmap_autorid_tdb.c
index 1673f19674..64c108520c 100644
--- a/source3/winbindd/idmap_autorid_tdb.c
+++ b/source3/winbindd/idmap_autorid_tdb.c
@@ -262,19 +262,19 @@ NTSTATUS idmap_autorid_getconfigstr(struct db_context *db, TALLOC_CTX *mem_ctx,
}
struct autorid_global_config *idmap_autorid_loadconfig(struct db_context *db,
- TALLOC_CTX *ctx)
+ TALLOC_CTX *mem_ctx)
{
struct autorid_global_config *cfg;
unsigned long minvalue, rangesize, maxranges;
NTSTATUS status;
char *configstr = NULL;
- status = idmap_autorid_getconfigstr(db, ctx, &configstr);
+ status = idmap_autorid_getconfigstr(db, mem_ctx, &configstr);
if (!NT_STATUS_IS_OK(status)) {
return NULL;
}
- cfg = talloc_zero(ctx, struct autorid_global_config);
+ cfg = talloc_zero(mem_ctx, struct autorid_global_config);
if (!cfg) {
return NULL;
}