From 2ec5bcb919856ec363f817e0f6515ef0f113150b Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 20 Aug 2009 10:33:00 -0400 Subject: Make the LOCAL provider always use MagicPrivateGroups Also updates the manpage for sssd.conf to denote this --- server/confdb/confdb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/confdb') 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; } -- cgit