summaryrefslogtreecommitdiffstats
path: root/server/providers/data_provider_be.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/providers/data_provider_be.c')
-rw-r--r--server/providers/data_provider_be.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/providers/data_provider_be.c b/server/providers/data_provider_be.c
index 8428954a3..55fc27877 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;