diff options
Diffstat (limited to 'src/confdb')
-rw-r--r-- | src/confdb/confdb.c | 9 | ||||
-rw-r--r-- | src/confdb/confdb.h | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/confdb/confdb.c b/src/confdb/confdb.c index 13035a41..3707f18b 100644 --- a/src/confdb/confdb.c +++ b/src/confdb/confdb.c @@ -894,6 +894,15 @@ static int confdb_get_domain_internal(struct confdb_ctx *cdb, goto done; } + ret = get_entry_as_bool(res->msgs[0], &domain->ignore_group_members, + CONFDB_DOMAIN_IGNORE_GROUP_MEMBERS, 0); + if(ret != EOK) { + DEBUG(SSSDBG_FATAL_FAILURE, + ("Invalid value for %s\n", + CONFDB_DOMAIN_IGNORE_GROUP_MEMBERS)); + goto done; + } + ret = get_entry_as_uint32(res->msgs[0], &domain->id_min, CONFDB_DOMAIN_MINID, confdb_get_min_id(domain)); diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h index 88e80c17..eb16d01e 100644 --- a/src/confdb/confdb.h +++ b/src/confdb/confdb.h @@ -162,6 +162,7 @@ #define CONFDB_DOMAIN_CASE_SENSITIVE "case_sensitive" #define CONFDB_DOMAIN_SUBDOMAIN_HOMEDIR "subdomain_homedir" #define CONFDB_DOMAIN_DEFAULT_SUBDOMAIN_HOMEDIR "/home/%d/%u" +#define CONFDB_DOMAIN_IGNORE_GROUP_MEMBERS "ignore_group_members" #define CONFDB_DOMAIN_USER_CACHE_TIMEOUT "entry_cache_user_timeout" #define CONFDB_DOMAIN_GROUP_CACHE_TIMEOUT "entry_cache_group_timeout" @@ -200,6 +201,7 @@ struct sss_domain_info { int timeout; bool enumerate; bool fqnames; + bool ignore_group_members; uint32_t id_min; uint32_t id_max; |