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
parent
2d16456bb5
commit
a3ae2b8ea5
|
@ -601,7 +601,7 @@ groupObjectClasses: (NSArray *) newGroupObjectClasses
|
||||||
_IDField, [_login escapedForLDAPDN], _baseDN];
|
_IDField, [_login escapedForLDAPDN], _baseDN];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (userDN && [[userDN lowercaseString] hasSuffix: [_baseDN lowercaseString]])
|
if (userDN)
|
||||||
{
|
{
|
||||||
if (!_passwordPolicy)
|
if (!_passwordPolicy)
|
||||||
didBind = [bindConnection bindWithMethod: @"simple"
|
didBind = [bindConnection bindWithMethod: @"simple"
|
||||||
|
|
Loading…
Reference in New Issue