LDAP: Throw an exception if disabling LDAP referrals fails

Signed-off-by: Jarkko Lehtoranta <devel@jlranta.com>
pull/5466/head
Jarkko Lehtoranta 9 years ago
parent 97e14cccf2
commit d87375cbaa
  1. 2
      apps/user_ldap/lib/Connection.php

@ -590,6 +590,8 @@ class Connection extends LDAPUtility {
throw new \OC\ServerNotAvailableException('Start TLS failed, when connecting to LDAP host ' . $host . '.');
}
}
} else {
throw new \OC\ServerNotAvailableException('Could not disable LDAP referrals.');
}
} else {
throw new \OC\ServerNotAvailableException('Could not set required LDAP Protocol version.');

Loading…
Cancel
Save