summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-03-08 10:06:55 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-03-08 11:20:55 -0400
commit6b20fac35dd129c49f23995bddc75ccbe35f7b08 (patch)
treef6b40b72e79511c664bd1409b27cb57b5ea6d224 /server
parent434c6d075f41f01a875756a02dd01fc802148ada (diff)
downloadsssd-6b20fac35dd129c49f23995bddc75ccbe35f7b08.tar.gz
sssd-6b20fac35dd129c49f23995bddc75ccbe35f7b08.tar.bz2
sssd-6b20fac35dd129c49f23995bddc75ccbe35f7b08.zip
Use LOCAL for the default domain in confdb_init_db
Diffstat (limited to 'server')
-rw-r--r--server/confdb/confdb.c4
1 files changed, 4 insertions, 0 deletions
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);