Revert "fix(core): don't bind a DN to LDAP sources with a different search base"

This reverts commit e0b6e22fa2.

This change was causing issues with LDAP virtual list views.
pull/299/head
Francis Lachapelle 2021-06-18 17:22:02 -04:00
parent 2d16456bb5
commit a3ae2b8ea5
1 changed files with 1 additions and 1 deletions

View File

@ -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"