Browse Source
Only bind if configuration for the first server is available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/10227/head
Julius Härtl
7 years ago
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with
1 additions and
1 deletions
-
apps/user_ldap/lib/Connection.php
|
|
@ -576,8 +576,8 @@ class Connection extends LDAPUtility { |
|
|
|
if (!$isOverrideMainServer) { |
|
|
|
$this->doConnect($this->configuration->ldapHost, |
|
|
|
$this->configuration->ldapPort); |
|
|
|
return $this->bind(); |
|
|
|
} |
|
|
|
return $this->bind(); |
|
|
|
} catch (ServerNotAvailableException $e) { |
|
|
|
if(!$isBackupHost) { |
|
|
|
throw $e; |
|
|
|