summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-08 13:45:55 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:53:03 +0100
commitc14184c07634801cda7864aa17c6fa8dc9ab43d1 (patch)
tree2dfce6637085a2c5975eb610cfd1c724c424b293 /src/db/sysdb.c
parent46675b5033169e1e954cd570413ce85b2c5e11fc (diff)
downloadsssd-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/db/sysdb.c')
-rw-r--r--src/db/sysdb.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c
index 62c33f232..a35664d19 100644
--- a/src/db/sysdb.c
+++ b/src/db/sysdb.c
@@ -972,12 +972,6 @@ int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx,
}
sysdb->domain = domain;
- /* The local provider s the only true MPG,
- * for the other domains, the provider actually unrolls MPGs */
- if (strcasecmp(domain->provider, "local") == 0) {
- sysdb->mpg = true;
- }
-
ret = sysdb_get_db_file(sysdb, domain->provider,
domain->name, db_path,
&sysdb->ldb_file);