diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/ldap/sdap_async_accounts.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_accounts.c b/src/providers/ldap/sdap_async_accounts.c index a6b51992..28d667c9 100644 --- a/src/providers/ldap/sdap_async_accounts.c +++ b/src/providers/ldap/sdap_async_accounts.c @@ -2623,7 +2623,9 @@ static int sdap_initgr_nested_store_group(struct sysdb_ctx *sysdb, goto done; } - ret = sysdb_attrs_get_string(group, SYSDB_NAME, &group_name); + ret = sysdb_attrs_primary_name(sysdb, group, + opts->group_map[SDAP_AT_GROUP_NAME].name, + &group_name); if (ret != EOK) { goto done; } |