summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async_netgroups.c4
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;