diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-12-05 22:41:30 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-12-05 23:26:55 +0100 |
commit | e3961dfa29324af5b6b9645fd7485c9035bdb18b (patch) | |
tree | fbd71e35c80af136ba33f7ef5d94afb4c2c17b8f /src/providers | |
parent | fb0de650e7454e1dfa76136e325e62a00748238b (diff) | |
download | sssd-e3961dfa29324af5b6b9645fd7485c9035bdb18b.tar.gz sssd-e3961dfa29324af5b6b9645fd7485c9035bdb18b.tar.bz2 sssd-e3961dfa29324af5b6b9645fd7485c9035bdb18b.zip |
LDAP: Continue adjusting group membership even if there is nothing to add
https://fedorahosted.org/sssd/ticket/1695
Diffstat (limited to 'src/providers')
-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; } |