From 2717aa2c83e1874bd8aad8ca467894a5bce60cbf Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Wed, 5 Dec 2012 22:41:30 +0100 Subject: LDAP: Continue adjusting group membership even if there is nothing to add https://fedorahosted.org/sssd/ticket/1695 --- src/providers/ldap/sdap_async_initgroups.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/providers/ldap') diff --git a/src/providers/ldap/sdap_async_initgroups.c b/src/providers/ldap/sdap_async_initgroups.c index 6936c7b56..029096dac 100644 --- a/src/providers/ldap/sdap_async_initgroups.c +++ b/src/providers/ldap/sdap_async_initgroups.c @@ -1859,8 +1859,7 @@ save_rfc2307bis_group_memberships(struct sdap_initgr_rfc2307bis_state *state) grp_count ^= grp_count_old; if (num_added == 0) { - /* Nothing to add. Skip. */ - continue; + add = NULL; } else { add[num_added] = NULL; } -- cgit