summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/providers/ad/ad_init.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/providers/ad/ad_init.c b/src/providers/ad/ad_init.c
index 7ebe2a0e..2f5a5da1 100644
--- a/src/providers/ad/ad_init.c
+++ b/src/providers/ad/ad_init.c
@@ -161,11 +161,9 @@ sssm_ad_id_init(struct be_ctx *bectx,
goto done;
}
- if (dp_opt_get_bool(sdap_ctx->opts->basic, SDAP_ID_MAPPING)) {
- /* Set up the ID mapping object */
- ret = sdap_idmap_init(sdap_ctx, sdap_ctx, &sdap_ctx->opts->idmap_ctx);
- if (ret != EOK) goto done;
- }
+ /* Set up the ID mapping object */
+ ret = sdap_idmap_init(sdap_ctx, sdap_ctx, &sdap_ctx->opts->idmap_ctx);
+ if (ret != EOK) goto done;
ret = ad_dyndns_init(sdap_ctx->be, ad_options);
if (ret != EOK) {