summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/confdb/confdb.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c
index 26c9e939..eda2d2b4 100644
--- a/server/confdb/confdb.c
+++ b/server/confdb/confdb.c
@@ -629,13 +629,15 @@ static int confdb_init_db(struct confdb_ctx *cdb)
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";
+ /* Set enumeration of LOCAL domain to allow user and groups
+ * (mask 1: users, 2: groups)
+ */
+ val[0] = "3";
ret = confdb_add_param(cdb, false, "config/domains/LOCAL", "enumerate", val);
if (ret != EOK) goto done;
/* LOCAL uses Magic Private Groups by default */
- val[0] = "1";
+ val[0] = "TRUE";
ret = confdb_add_param(cdb, false, "config/domains/LOCAL", CONFDB_MPG, val);
if (ret != EOK) goto done;