diff options
Diffstat (limited to 'src/confdb/confdb.c')
-rw-r--r-- | src/confdb/confdb.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/confdb/confdb.c b/src/confdb/confdb.c index fefecc03d..a02822481 100644 --- a/src/confdb/confdb.c +++ b/src/confdb/confdb.c @@ -936,6 +936,14 @@ static int confdb_get_domain_internal(struct confdb_ctx *cdb, goto done; } + ret = get_entry_as_bool(res->msgs[0], &domain->mpg, + CONFDB_DOMAIN_AUTO_UPG, 0); + if (ret != EOK) { + DEBUG(SSSDBG_FATAL_FAILURE, + "Invalid value for %s\n", CONFDB_DOMAIN_AUTO_UPG); + goto done; + } + if (strcasecmp(domain->provider, "local") == 0) { /* If this is the local provider, we need to ensure that * no other provider was specified for other types, since |