From 65d3e86a79727237f356f7d0655fe3d5fe248ddd Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 18 Mar 2009 09:43:49 -0400 Subject: [PATCH] Enable MPGs and user/group enumeration on the LOCAL domain by default --- server/confdb/confdb.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c index 26c9e93..2eeb159 100644 --- a/server/confdb/confdb.c +++ b/server/confdb/confdb.c @@ -630,12 +630,12 @@ static int confdb_init_db(struct confdb_ctx *cdb) if(ret != EOK) goto done; /* Set enumeration of LOCAL domain to 1 */ - val[0] = "1"; + 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; -- 1.6.0.6