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 | |
parent | 46675b5033169e1e954cd570413ce85b2c5e11fc (diff) | |
download | sssd-c14184c07634801cda7864aa17c6fa8dc9ab43d1.tar.gz sssd-c14184c07634801cda7864aa17c6fa8dc9ab43d1.tar.bz2 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')
-rw-r--r-- | src/confdb/confdb.c | 3 | ||||
-rw-r--r-- | src/confdb/confdb.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/confdb/confdb.c b/src/confdb/confdb.c index 600d423d..00643cd3 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], diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h index eb16d01e..81323dda 100644 --- a/src/confdb/confdb.h +++ b/src/confdb/confdb.h @@ -201,6 +201,7 @@ struct sss_domain_info { int timeout; bool enumerate; bool fqnames; + bool mpg; bool ignore_group_members; uint32_t id_min; uint32_t id_max; |