summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2016-08-03 13:18:51 +0200
committerJakub Hrozek <jhrozek@redhat.com>2016-08-04 11:16:45 +0200
commit6a89b38c032593ed705e679c23e6a4efce9f3def (patch)
treea0802a73d33f2401f8f491a3e144f35b9617b78f /src/providers/ldap
parent07faf35960fafcff07ef588a851bde0066e88cd7 (diff)
downloadsssd-6a89b38c032593ed705e679c23e6a4efce9f3def.tar.gz
sssd-6a89b38c032593ed705e679c23e6a4efce9f3def.tar.xz
sssd-6a89b38c032593ed705e679c23e6a4efce9f3def.zip
LDAP: Use FQDN when linking parent LDAP groups
Resolves: https://fedorahosted.org/sssd/ticket/3093 Because we compare the list of LDAP names with the list of sysdb names, we need to qualify the list of LDAP names before running the diff. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/providers/ldap')
-rw-r--r--src/providers/ldap/sdap_async_initgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups.c b/src/providers/ldap/sdap_async_initgroups.c
index cc63dff78..82c708c22 100644
--- a/src/providers/ldap/sdap_async_initgroups.c
+++ b/src/providers/ldap/sdap_async_initgroups.c
@@ -2080,7 +2080,7 @@ rfc2307bis_group_memberships_build(hash_entry_t *item, void *user_data)
}
if (group->parents_count > 0) {
- ret = sysdb_attrs_primary_name_list(mstate->dom, tmp_ctx,
+ ret = sysdb_attrs_primary_fqdn_list(mstate->dom, tmp_ctx,
group->ldap_parents, group->parents_count,
mstate->opts->group_map[SDAP_AT_GROUP_NAME].name,
&ldap_parents_names_list);