From d2969c6b23c722445bd699c830adb7601ba1cdc6 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Mon, 12 Aug 2013 15:06:18 +0000 Subject: Make LDAP extra attributes available to IPA and AD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://fedorahosted.org/sssd/ticket/2073 Reviewed-by: Simo Sorce Reviewed-by: Pavel Březina --- src/providers/ad/ad_common.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/providers/ad/ad_common.c') diff --git a/src/providers/ad/ad_common.c b/src/providers/ad/ad_common.c index 8528ad3dc..2607e766d 100644 --- a/src/providers/ad/ad_common.c +++ b/src/providers/ad/ad_common.c @@ -201,11 +201,12 @@ ad_create_sdap_options(TALLOC_CTX *mem_ctx, goto done; } - ret = sdap_extend_map(id_opts, - id_opts->user_map, - SDAP_OPTS_USER, NULL, - &id_opts->user_map, - &id_opts->user_map_cnt); + ret = sdap_extend_map_with_list(id_opts, id_opts, + SDAP_USER_EXTRA_ATTRS, + id_opts->user_map, + SDAP_OPTS_USER, + &id_opts->user_map, + &id_opts->user_map_cnt); if (ret != EOK) { goto done; } -- cgit