From a3ae2b8ea5541e714923356e68bb4b31aa0af2ee Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Fri, 18 Jun 2021 17:22:02 -0400 Subject: [PATCH] Revert "fix(core): don't bind a DN to LDAP sources with a different search base" This reverts commit e0b6e22fa278d3d908b17acbe5f5c284d3563773. This change was causing issues with LDAP virtual list views. --- SoObjects/SOGo/LDAPSource.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/SOGo/LDAPSource.m b/SoObjects/SOGo/LDAPSource.m index ff07d43f2..1c981a496 100644 --- a/SoObjects/SOGo/LDAPSource.m +++ b/SoObjects/SOGo/LDAPSource.m @@ -601,7 +601,7 @@ groupObjectClasses: (NSArray *) newGroupObjectClasses _IDField, [_login escapedForLDAPDN], _baseDN]; } - if (userDN && [[userDN lowercaseString] hasSuffix: [_baseDN lowercaseString]]) + if (userDN) { if (!_passwordPolicy) didBind = [bindConnection bindWithMethod: @"simple"