diff options
author | Sumit Bose <sbose@redhat.com> | 2017-02-06 10:28:46 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2017-03-23 17:19:29 +0100 |
commit | c44728a02d5e2c9eaced11e74820a6ae6a985f61 (patch) | |
tree | db8a09229ea70708c52dfb33c42dc145017904a8 /src/providers/ipa/ipa_subdomains_server.c | |
parent | 49f8ec8e0a3723a748bdb043d6dc1fb2a3977a8a (diff) | |
download | sssd-c44728a02d5e2c9eaced11e74820a6ae6a985f61.tar.gz sssd-c44728a02d5e2c9eaced11e74820a6ae6a985f61.tar.xz sssd-c44728a02d5e2c9eaced11e74820a6ae6a985f61.zip |
IPA: add certmap support
Read certificate mapping data from the IPA server and configure the
certificate mapping library accordingly.
Related to https://pagure.io/SSSD/sssd/issue/3050
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/providers/ipa/ipa_subdomains_server.c')
-rw-r--r-- | src/providers/ipa/ipa_subdomains_server.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_subdomains_server.c b/src/providers/ipa/ipa_subdomains_server.c index 1af8676c5..ae3baf036 100644 --- a/src/providers/ipa/ipa_subdomains_server.c +++ b/src/providers/ipa/ipa_subdomains_server.c @@ -362,6 +362,10 @@ ipa_ad_ctx_new(struct be_ctx *be_ctx, ad_id_ctx->sdap_id_ctx->opts->idmap_ctx = id_ctx->sdap_id_ctx->opts->idmap_ctx; + /* Set up the certificate mapping context */ + ad_id_ctx->sdap_id_ctx->opts->certmap_ctx = + id_ctx->sdap_id_ctx->opts->certmap_ctx; + *_ad_id_ctx = ad_id_ctx; return EOK; } |