From b51809c13e9b5991e0abafdb3c49ce1f919878c2 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 23 Jul 2014 11:42:57 +0200 Subject: [PATCH] s3:idmap: fix talloc hierarchy in idmap_passdb_domain() (don't init to NULL context - we got one handed in...) Signed-off-by: Michael Adam Reviewed-by: Volker Lendecke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Fri Jul 25 14:18:20 CEST 2014 on sn-devel-104 --- source3/winbindd/idmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c index dc972fea00e..a8beab738b6 100644 --- a/source3/winbindd/idmap.c +++ b/source3/winbindd/idmap.c @@ -350,7 +350,7 @@ static struct idmap_domain *idmap_passdb_domain(TALLOC_CTX *mem_ctx) return passdb_idmap_domain; } - passdb_idmap_domain = idmap_init_domain(NULL, get_global_sam_name(), + passdb_idmap_domain = idmap_init_domain(mem_ctx, get_global_sam_name(), "passdb", false); if (passdb_idmap_domain == NULL) { DEBUG(1, ("Could not init passdb idmap domain\n")); -- 2.11.4.GIT