summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async_groups.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/providers/ldap/sdap_async_groups.c b/src/providers/ldap/sdap_async_groups.c
index 2a079228..70e656bd 100644
--- a/src/providers/ldap/sdap_async_groups.c
+++ b/src/providers/ldap/sdap_async_groups.c
@@ -1409,17 +1409,6 @@ static void sdap_get_groups_process(struct tevent_req *subreq)
state->groups[state->count] = NULL;
}
- if (!state->enumeration && count > 1) {
- DEBUG(SSSDBG_MINOR_FAILURE,
- ("Individual group search returned multiple results\n"));
- tevent_req_error(req, EINVAL);
- return;
- }
-
- if (state->enumeration || count == 0) {
- next_base = true;
- }
-
if (next_base) {
state->base_iter++;
if (state->search_bases[state->base_iter]) {