summaryrefslogtreecommitdiffstats
path: root/src/providers/ad/ad_subdomains.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/ad/ad_subdomains.c')
-rw-r--r--src/providers/ad/ad_subdomains.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/providers/ad/ad_subdomains.c b/src/providers/ad/ad_subdomains.c
index 9911dfe0f..184145230 100644
--- a/src/providers/ad/ad_subdomains.c
+++ b/src/providers/ad/ad_subdomains.c
@@ -650,5 +650,12 @@ int ad_subdom_init(struct be_ctx *be_ctx,
return EFAULT;
}
+ ret = sysdb_update_subdomains(be_ctx->domain);
+ if (ret != EOK) {
+ DEBUG(SSSDBG_MINOR_FAILURE, ("Could not load the list of subdomains. "
+ "Users from trusted domains might not be resolved correctly\n"));
+ /* Ignore this error and try to discover the subdomains later */
+ }
+
return EOK;
}