summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-08-21 16:00:17 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-08-21 16:01:14 -0400
commit7bc48f82f587b148b821e34f57c1414e82a18276 (patch)
treec4d6810789763b2bccaf922b1e1b691f7a8eabef /server
parent75ec81bdd9d1760fad0de0c73d6bc649b3a061fd (diff)
downloadsssd-7bc48f82f587b148b821e34f57c1414e82a18276.tar.gz
sssd-7bc48f82f587b148b821e34f57c1414e82a18276.tar.bz2
sssd-7bc48f82f587b148b821e34f57c1414e82a18276.zip
Fix accidentally forcing MPGs on for all domains
Diffstat (limited to 'server')
-rw-r--r--server/confdb/confdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c
index 1d750740..70710d19 100644
--- a/server/confdb/confdb.c
+++ b/server/confdb/confdb.c
@@ -756,7 +756,7 @@ int confdb_get_domain(struct confdb_ctx *cdb,
}
/* Determine if this is domain uses MPG */
- if (strcasecmp(domain->provider, "local") ||
+ if (strcasecmp(domain->provider, "local") == 0 ||
ldb_msg_find_attr_as_bool(res->msgs[0], CONFDB_MPG, 0)) {
domain->mpg = true;
}