summaryrefslogtreecommitdiff
path: root/src/confdb
diff options
context:
space:
mode:
Diffstat (limited to 'src/confdb')
-rw-r--r--src/confdb/confdb.c3
-rw-r--r--src/confdb/confdb.h1
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;