diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-08-29 10:22:45 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-08-29 10:23:18 -0400 |
commit | b003e098fdf87fbab450454f13f3baa7d7fa7ef0 (patch) | |
tree | f60a3ecd8b9f51caeab6981331569f690bf4dd5e | |
parent | 0a432138750a8d790e9eaded5c2ba25369dfffeb (diff) | |
download | sssd-b003e098fdf87fbab450454f13f3baa7d7fa7ef0.tar.gz sssd-b003e098fdf87fbab450454f13f3baa7d7fa7ef0.tar.xz sssd-b003e098fdf87fbab450454f13f3baa7d7fa7ef0.zip |
Fix moving to next entry in deref code
https://fedorahosted.org/sssd/ticket/973
-rw-r--r-- | src/providers/ldap/sdap_async_accounts.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_accounts.c b/src/providers/ldap/sdap_async_accounts.c index bea965b47..1031870a3 100644 --- a/src/providers/ldap/sdap_async_accounts.c +++ b/src/providers/ldap/sdap_async_accounts.c @@ -4252,7 +4252,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++; |