diff options
author | Michael Adam <obnox@samba.org> | 2010-06-17 08:04:53 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-08-14 02:10:45 +0200 |
commit | 3bc40a09799ed3b39ff387d07b0a3928ae800444 (patch) | |
tree | fd254ae3a7b23e85359479716fd0bb8cbbe37013 /source3 | |
parent | 39079acc5770c23f4c1428be60202f48882eeef3 (diff) | |
download | samba-3bc40a09799ed3b39ff387d07b0a3928ae800444.tar.gz samba-3bc40a09799ed3b39ff387d07b0a3928ae800444.tar.bz2 samba-3bc40a09799ed3b39ff387d07b0a3928ae800444.zip |
s3:idmap_tdb2: use the right talloc context for db_open in idmap_tdb2_open_db()
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/idmap_tdb2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |