From 224a0dfad69c2e056f19e2b4865d592f495fb944 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 13 Feb 2009 14:17:24 -0500 Subject: Always pass teh database path explicitly, so that test cases can use throw away databases Check version and init main db if empty --- server/confdb/confdb.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'server/confdb/confdb.h') diff --git a/server/confdb/confdb.h b/server/confdb/confdb.h index 62ab45c7..e6dd0d47 100644 --- a/server/confdb/confdb.h +++ b/server/confdb/confdb.h @@ -19,6 +19,8 @@ along with this program. If not, see . */ +#define CONFDB_FILE "config.ldb" + struct confdb_ctx; int confdb_add_param(struct confdb_ctx *cdb, @@ -44,7 +46,8 @@ int confdb_get_int(struct confdb_ctx *cdb, TALLOC_CTX *ctx, int confdb_init(TALLOC_CTX *mem_ctx, struct event_context *ev, - struct confdb_ctx **cdb_ctx); + struct confdb_ctx **cdb_ctx, + char *confdb_location); int confdb_get_domains(struct confdb_ctx *cdb, TALLOC_CTX *mem_ctx, -- cgit