diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-09-03 19:29:41 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-08 15:10:50 -0400 |
commit | 28d9dcbeabdf919506fe59e9d1cbed84fbd6e649 (patch) | |
tree | 3d5d878b1adc0ec8af94a52359d219689c763bd8 /server/tools/tools_util.c | |
parent | aef967dc115c64f0288b8ecc3ff1d927aa42af70 (diff) | |
download | sssd-28d9dcbeabdf919506fe59e9d1cbed84fbd6e649.tar.gz sssd-28d9dcbeabdf919506fe59e9d1cbed84fbd6e649.tar.xz sssd-28d9dcbeabdf919506fe59e9d1cbed84fbd6e649.zip |
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.
Diffstat (limited to 'server/tools/tools_util.c')
-rw-r--r-- | server/tools/tools_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tools/tools_util.c b/server/tools/tools_util.c index 620139940..3b16f5931 100644 --- a/server/tools/tools_util.c +++ b/server/tools/tools_util.c @@ -167,7 +167,7 @@ int setup_db(struct tools_ctx **tools_ctx) return ret; } - ret = confdb_get_domains(ctx->confdb, ctx, &ctx->domains); + ret = confdb_get_domains(ctx->confdb, &ctx->domains); if (ret != EOK) { DEBUG(1, ("Could not get domains")); talloc_free(ctx); @@ -175,7 +175,7 @@ int setup_db(struct tools_ctx **tools_ctx) } /* open sysdb at default path */ - ret = sysdb_init(ctx, ctx->ev, ctx->confdb, NULL, &ctx->sysdb); + ret = sysdb_init(ctx, ctx->ev, ctx->confdb, NULL, false, &ctx->db_list); if (ret != EOK) { DEBUG(1, ("Could not initialize connection to the sysdb")); talloc_free(ctx); |