From 6b20fac35dd129c49f23995bddc75ccbe35f7b08 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Sun, 8 Mar 2009 10:06:55 -0400 Subject: Use LOCAL for the default domain in confdb_init_db --- server/confdb/confdb.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c index 2313a113..462a0f2f 100644 --- a/server/confdb/confdb.c +++ b/server/confdb/confdb.c @@ -620,6 +620,10 @@ static int confdb_init_db(struct confdb_ctx *cdb) ret = confdb_add_param(cdb, false, "config/domains/LOCAL", "description", val); if (ret != EOK) goto done; + val[0] = "LOCAL"; + ret = confdb_add_param(cdb, false, "config/domains", "default", val); + if(ret != EOK) goto done; + /* Set enumeration of LOCAL domain to 1 */ val[0] = "1"; ret = confdb_add_param(cdb, false, "config/domains/LOCAL", "enumerate", val); -- cgit