diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2011-09-27 10:19:56 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-09-28 09:06:57 -0400 |
commit | d14332fc3880761ff595104d1d5b0bcf69fbb244 (patch) | |
tree | 20862c88fe69b96d4248b9f4bdd5ae82bf8f6831 /src | |
parent | ea40c46597f124f08802b6a6422394777d9bfb91 (diff) | |
download | sssd-d14332fc3880761ff595104d1d5b0bcf69fbb244.tar.gz sssd-d14332fc3880761ff595104d1d5b0bcf69fbb244.tar.bz2 sssd-d14332fc3880761ff595104d1d5b0bcf69fbb244.zip |
Fixed bad logic in processing netgroups in LDAP provider
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/ldap/sdap_async_netgroups.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_netgroups.c b/src/providers/ldap/sdap_async_netgroups.c index ff776289..6f884bc5 100644 --- a/src/providers/ldap/sdap_async_netgroups.c +++ b/src/providers/ldap/sdap_async_netgroups.c @@ -223,7 +223,9 @@ static errno_t update_dn_list(struct dn_item *dn_list, const size_t count, } } - not_resolved = true; + if (dn_item->cn == NULL) { + not_resolved = true; + } } *all_resolved = !not_resolved; |