diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/confdb/confdb.c | 3 | ||||
-rw-r--r-- | server/man/sssd.conf.5.xml | 8 |
2 files changed, 9 insertions, 2 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c index a44368f9..1d750740 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; } diff --git a/server/man/sssd.conf.5.xml b/server/man/sssd.conf.5.xml index 6c5ce87a..5d7e0906 100644 --- a/server/man/sssd.conf.5.xml +++ b/server/man/sssd.conf.5.xml @@ -414,7 +414,13 @@ same effect as User Private Groups </para> <para> - Default: FALSE + Default: FALSE* + </para> + <para> + *Magic Private Groups are always enabled when + provider=local and this setting does not + affect that in any way. For other providers, + Magic Private Groups default to FALSE </para> </listitem> </varlistentry> |