Only bind if configuration for the first server is available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
09d5b61c9e
commit
c2616df541
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue