diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-05-03 10:00:37 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-05-03 21:02:04 +0200 |
commit | 2e4f8db631a10224dac20e8a472f751fef0e3fcd (patch) | |
tree | 7275b5b9fe62834fbb1f3bd61912a99f23c57f09 /src/providers/ad | |
parent | 74e95cfd9d3939dfe9417d79d2f6fc79b361405f (diff) | |
download | sssd-2e4f8db631a10224dac20e8a472f751fef0e3fcd.tar.gz sssd-2e4f8db631a10224dac20e8a472f751fef0e3fcd.tar.bz2 sssd-2e4f8db631a10224dac20e8a472f751fef0e3fcd.zip |
AD: Always initialize ID mapping
Because we now always store SIDs in the LDAP provider, we also need to
always initialize the ID mapping context even if ID mapping itself is
off.
Diffstat (limited to 'src/providers/ad')
-rw-r--r-- | src/providers/ad/ad_init.c | 8 |
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) { |