Thomas Bruederli
2013-01-23 2b2f34d35487e9cf227f70f4e33898ac139cac67
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:09 -0500
commit2b2f34d35487e9cf227f70f4e33898ac139cac67
tree cd3244915c87789370b75599a5aceaf734fdb47c tree | zip | gz
parent 6984ab64f7c99b3371c4a61d0713d5b873233106 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