diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-03-18 09:43:49 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-03-18 11:14:17 -0400 |
commit | dd4568a18e9b0512bee8d55af640514ee5445243 (patch) | |
tree | 94bd2be132268dd217822f8a314f2754476737f9 /server | |
parent | 303f857b01432f081066617a8ac5b7e9add56e3b (diff) | |
download | sssd-dd4568a18e9b0512bee8d55af640514ee5445243.tar.gz sssd-dd4568a18e9b0512bee8d55af640514ee5445243.tar.bz2 sssd-dd4568a18e9b0512bee8d55af640514ee5445243.zip |
Enable MPGs and user/group enumeration on the LOCAL domain by default
Diffstat (limited to 'server')
-rw-r--r-- | server/confdb/confdb.c | 8 |
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; |