summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/providers/ldap/sdap_async_accounts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_accounts.c b/src/providers/ldap/sdap_async_accounts.c
index 4db4a4ccd..95f3b0d0a 100644
--- a/src/providers/ldap/sdap_async_accounts.c
+++ b/src/providers/ldap/sdap_async_accounts.c
@@ -1122,7 +1122,7 @@ static void sdap_initgr_rfc2307_process(struct tevent_req *subreq)
ldap_grouplist = NULL;
} else {
ret = sysdb_attrs_to_list(state, ldap_groups, count,
- state->opts->group_map[SDAP_AT_GROUP_NAME].name,
+ SYSDB_NAME,
&ldap_grouplist);
if (ret != EOK) {
tevent_req_error(req, ret);