Loading lib/Service/UserService.php +6 −6 Original line number Diff line number Diff line Loading @@ -83,16 +83,16 @@ class UserService { return $exists; } $requiredLDAPattributes = [ 'dn', strtolower($this->connection->ldapExpertUsernameAttr), strtolower($this->connection->ldapUserDisplayName) ]; $backends = $this->userManager->getBackends(); foreach ($backends as $backend) { if ($backend->getBackendName() === 'LDAP') { $access = $backend->getLDAPAccess($uid); $requiredLDAPattributes = [ 'dn', strtolower($access->connection->ldapExpertUsernameAttr), strtolower($access->connection->ldapUserDisplayName) ]; $users = $access->fetchUsersByLoginName($uid, $requiredLDAPattributes); if (count($users) > 0) { $exists = true; Loading Loading
lib/Service/UserService.php +6 −6 Original line number Diff line number Diff line Loading @@ -83,16 +83,16 @@ class UserService { return $exists; } $requiredLDAPattributes = [ 'dn', strtolower($this->connection->ldapExpertUsernameAttr), strtolower($this->connection->ldapUserDisplayName) ]; $backends = $this->userManager->getBackends(); foreach ($backends as $backend) { if ($backend->getBackendName() === 'LDAP') { $access = $backend->getLDAPAccess($uid); $requiredLDAPattributes = [ 'dn', strtolower($access->connection->ldapExpertUsernameAttr), strtolower($access->connection->ldapUserDisplayName) ]; $users = $access->fetchUsersByLoginName($uid, $requiredLDAPattributes); if (count($users) > 0) { $exists = true; Loading