From 9a024cd7fc841f21dd4ed793b79b5cdec885cae7 Mon Sep 17 00:00:00 2001 From: Valentin Tolmer Date: Sun, 7 Nov 2021 14:57:13 +0100 Subject: [PATCH] ldap: Fix response when both users and groups are returned --- server/src/infra/ldap_handler.rs | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/server/src/infra/ldap_handler.rs b/server/src/infra/ldap_handler.rs index f47ab3a..7dc1215 100644 --- a/server/src/infra/ldap_handler.rs +++ b/server/src/infra/ldap_handler.rs @@ -414,17 +414,31 @@ impl LdapHandler LdapHandler>>() .unwrap_or_else(|e| { vec![make_search_error( @@ -530,8 +542,6 @@ impl LdapHandler>>() .unwrap_or_else(|e| { vec![make_search_error(