mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipa-kdb: map_groups() consider all results
Resolves https://fedorahosted.org/freeipa/ticket/5573 Reviewed-By: Jakub Hrozek <jhrozek@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
d85d709473
commit
348c400484
@ -1082,6 +1082,7 @@ static int map_groups(TALLOC_CTX *memctx, krb5_context kcontext,
|
||||
continue;
|
||||
}
|
||||
|
||||
do {
|
||||
ldap_derefresponse_free(deref_results);
|
||||
ret = ipadb_ldap_deref_results(ipactx->lcontext, lentry, &deref_results);
|
||||
switch (ret) {
|
||||
@ -1144,6 +1145,9 @@ static int map_groups(TALLOC_CTX *memctx, krb5_context kcontext,
|
||||
default:
|
||||
goto done;
|
||||
}
|
||||
|
||||
lentry = ldap_next_entry(ipactx->lcontext, lentry);
|
||||
} while (lentry != NULL);
|
||||
}
|
||||
|
||||
*_ipa_group_sids_count = sid_index;
|
||||
|
Loading…
Reference in New Issue
Block a user