From 28d9dcbeabdf919506fe59e9d1cbed84fbd6e649 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 3 Sep 2009 19:29:41 -0400 Subject: Split database in multiple files The special persistent local database retains the original name. All other backends now have their own cache-NAME.ldb file. --- server/providers/data_provider_be.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/providers') diff --git a/server/providers/data_provider_be.c b/server/providers/data_provider_be.c index 8428954a..55fc2787 100644 --- a/server/providers/data_provider_be.c +++ b/server/providers/data_provider_be.c @@ -944,13 +944,13 @@ int be_process_init(TALLOC_CTX *mem_ctx, return ENOMEM; } - ret = confdb_get_domain(cdb, ctx, be_domain, &ctx->domain); + ret = confdb_get_domain(cdb, be_domain, &ctx->domain); if (ret != EOK) { DEBUG(0, ("fatal error retrieving domain configuration\n")); return ret; } - ret = sysdb_init(ctx, ev, cdb, NULL, &ctx->sysdb); + ret = sysdb_domain_init(ctx, ev, ctx->domain, DB_PATH, &ctx->sysdb); if (ret != EOK) { DEBUG(0, ("fatal error opening cache database\n")); return ret; -- cgit