diff options
| author | Jakub Hrozek <jhrozek@redhat.com> | 2012-12-05 22:41:30 +0100 |
|---|---|---|
| committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-12-07 18:48:48 +0100 |
| commit | 2717aa2c83e1874bd8aad8ca467894a5bce60cbf (patch) | |
| tree | 2fa36ad8fa500950604575d733d1513013219dd2 | |
| parent | 5c4d1623235c9392636ee0a1e0b859de7050226d (diff) | |
LDAP: Continue adjusting group membership even if there is nothing to add1.9.2-37
https://fedorahosted.org/sssd/ticket/1695
| -rw-r--r-- | src/providers/ldap/sdap_async_initgroups.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups.c b/src/providers/ldap/sdap_async_initgroups.c index 6936c7b5..029096da 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; } |
