diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-08-19 19:57:51 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-08-29 10:18:09 -0400 |
commit | 7e7fa5394d042c63dddfe48a85f1d80552e63d81 (patch) | |
tree | 8e5d3e0917cc8e1a75c32d0066937d850f0d9ae9 /src | |
parent | 473c90800239fc54eaab9d3dc3194582b039d614 (diff) | |
download | sssd-7e7fa5394d042c63dddfe48a85f1d80552e63d81.tar.gz sssd-7e7fa5394d042c63dddfe48a85f1d80552e63d81.tar.bz2 sssd-7e7fa5394d042c63dddfe48a85f1d80552e63d81.zip |
Fix moving to next entry in deref code
https://fedorahosted.org/sssd/ticket/973
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/ldap/sdap_async_groups.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_groups.c b/src/providers/ldap/sdap_async_groups.c index 7b9f0cd2..b3f6bb70 100644 --- a/src/providers/ldap/sdap_async_groups.c +++ b/src/providers/ldap/sdap_async_groups.c @@ -2492,7 +2492,12 @@ static void sdap_nested_group_process_group(struct tevent_req *subreq) skip: if (state->derefctx) { - state->derefctx->expired_groups_index++; + if (state->derefctx->expired_groups_index < + state->derefctx->expired_groups_num) { + state->derefctx->expired_groups_index++; + } else { + state->derefctx->missing_dns_index++; + } ret = sdap_nested_group_process_noderef(req); } else { state->member_index++; |