Thomas Bruederli
2013-01-23 e114a6040606afabf84f11651a040cef30bc55a2
refs
author Thomas Bruederli <thomas@roundcube.net>
Wednesday, January 23, 2013 12:01 -0500
committer Thomas Bruederli <thomas@roundcube.net>
Wednesday, January 23, 2013 12:01 -0500
commite114a6040606afabf84f11651a040cef30bc55a2
tree 2b1b32ec933989f72b23ff8f30230b8f0dd3388b tree | zip | gz
parent 293a5798af154efb75d0f467639273452e35477e view | diff
Use LDAP fallback hosts on connect + bind because with OpenLDAP 2.x ldap_connect() always succeeds but ldap_bind() will fail if host isn't reachable.
Add option for LDAP bind timeout (sets LDAP_OPT_NETWORK_TIMEOUT on PHP > 5.3.0)
2 files modified
211 ■■■■ changed files
config/main.inc.php.dist 1 ●●●● diff | view | raw | blame | history
program/lib/Roundcube/rcube_ldap.php 210 ●●●● diff | view | raw | blame | history