From 3bc40a09799ed3b39ff387d07b0a3928ae800444 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 17 Jun 2010 08:04:53 +0200 Subject: s3:idmap_tdb2: use the right talloc context for db_open in idmap_tdb2_open_db() --- source3/winbindd/idmap_tdb2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c index f386ec3402..85f3f03ea0 100644 --- a/source3/winbindd/idmap_tdb2.c +++ b/source3/winbindd/idmap_tdb2.c @@ -112,7 +112,7 @@ static NTSTATUS idmap_tdb2_open_db(struct idmap_domain *dom) NT_STATUS_HAVE_NO_MEMORY(db_path); /* Open idmap repository */ - ctx->db = db_open(NULL, db_path, 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0644); + ctx->db = db_open(ctx, db_path, 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0644); TALLOC_FREE(db_path); if (ctx->db == NULL) { -- cgit