summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_groups.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-05-16 17:03:41 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-05-16 16:06:58 -0400
commitd217f6b1176f653619439820cd9c4d3cb7f95c29 (patch)
treeda99a335ece7d02d5fa3e591dda45c81d3ee5e0d /src/providers/ldap/sdap_async_groups.c
parentecd6aa105c55994db06993bab3c967247656bacb (diff)
downloadsssd-d217f6b1176f653619439820cd9c4d3cb7f95c29.tar.gz
sssd-d217f6b1176f653619439820cd9c4d3cb7f95c29.tar.xz
sssd-d217f6b1176f653619439820cd9c4d3cb7f95c29.zip
Use the sysdb attribute name, not LDAP attribute name
Diffstat (limited to 'src/providers/ldap/sdap_async_groups.c')
-rw-r--r--src/providers/ldap/sdap_async_groups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_groups.c b/src/providers/ldap/sdap_async_groups.c
index 361525037..b48fe72ec 100644
--- a/src/providers/ldap/sdap_async_groups.c
+++ b/src/providers/ldap/sdap_async_groups.c
@@ -3044,7 +3044,7 @@ sdap_nested_group_process_deref_result(struct tevent_req *req)
} else if (dctx->deref_result[dctx->result_index]->map == \
state->opts->group_map) {
ret = sysdb_attrs_get_string(dctx->deref_result[dctx->result_index]->attrs,
- state->opts->group_map[SDAP_AT_GROUP_NAME].name,
+ state->opts->group_map[SDAP_AT_GROUP_NAME].sys_name,
&tmp_name);
if (ret == ENOENT) {
DEBUG(7, ("Dereferenced a group without name, skipping ...\n"));