Merge pull request #34 from gulikoza/master
Fix moving ldap entries and login error with 'fallback_dn'
This commit is contained in:
@@ -251,7 +251,7 @@ class ldap extends DS {
|
||||
else
|
||||
$userDN = $this->getLoginID($user,'login');
|
||||
|
||||
if (! $userDN && $this->getValue('login','fallback_dn'))
|
||||
if (! $userDN && $this->getValue('login','fallback_dn') && strpos($user, '='))
|
||||
$userDN = $user;
|
||||
|
||||
if (! $userDN)
|
||||
|
Reference in New Issue
Block a user