diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-08 13:45:55 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:53:03 +0100 |
commit | c14184c07634801cda7864aa17c6fa8dc9ab43d1 (patch) | |
tree | 2dfce6637085a2c5975eb610cfd1c724c424b293 /src/confdb/confdb.c | |
parent | 46675b5033169e1e954cd570413ce85b2c5e11fc (diff) | |
download | sssd-c14184c07634801cda7864aa17c6fa8dc9ab43d1.tar.gz sssd-c14184c07634801cda7864aa17c6fa8dc9ab43d1.tar.xz sssd-c14184c07634801cda7864aa17c6fa8dc9ab43d1.zip |
Move mpg flag to the domain where it belongs
A sysdb contains now multiple domains, but the mpg property is a
property of a specific domain not of the underlying database.
Diffstat (limited to 'src/confdb/confdb.c')
-rw-r--r-- | src/confdb/confdb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/confdb/confdb.c b/src/confdb/confdb.c index 600d423d0..00643cd39 100644 --- a/src/confdb/confdb.c +++ b/src/confdb/confdb.c @@ -859,6 +859,9 @@ static int confdb_get_domain_internal(struct confdb_ctx *cdb, ret = EINVAL; goto done; } + + /* The LOCAL provider use always Magic Private Groups */ + domain->mpg = true; } domain->timeout = ldb_msg_find_attr_as_int(res->msgs[0], |