summaryrefslogtreecommitdiffstats
path: root/server/confdb
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-08-20 10:33:00 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-08-20 12:27:12 -0400
commit2ec5bcb919856ec363f817e0f6515ef0f113150b (patch)
treea270fdd78d3dbdecedfee238a243bfc251a52405 /server/confdb
parentbd658691471ec283bfc2d7aa4018a2b83e00c7d9 (diff)
downloadsssd-2ec5bcb919856ec363f817e0f6515ef0f113150b.tar.gz
sssd-2ec5bcb919856ec363f817e0f6515ef0f113150b.tar.xz
sssd-2ec5bcb919856ec363f817e0f6515ef0f113150b.zip
Make the LOCAL provider always use MagicPrivateGroups
Also updates the manpage for sssd.conf to denote this
Diffstat (limited to 'server/confdb')
-rw-r--r--server/confdb/confdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c
index a44368f95..1d750740a 100644
--- a/server/confdb/confdb.c
+++ b/server/confdb/confdb.c
@@ -756,7 +756,8 @@ int confdb_get_domain(struct confdb_ctx *cdb,
}
/* Determine if this is domain uses MPG */
- if (ldb_msg_find_attr_as_bool(res->msgs[0], CONFDB_MPG, 0)) {
+ if (strcasecmp(domain->provider, "local") ||
+ ldb_msg_find_attr_as_bool(res->msgs[0], CONFDB_MPG, 0)) {
domain->mpg = true;
}