diff --git a/inc/drivers_ldap.php b/inc/drivers_ldap.php index 8e5cb452..529bad65 100644 --- a/inc/drivers_ldap.php +++ b/inc/drivers_ldap.php @@ -48,6 +48,8 @@ class ldapDrivers ldap_set_option($this->connect, LDAP_OPT_PROTOCOL_VERSION, $config['protocolVersion']); if (isset($config['optReferrals'])) ldap_set_option($this->connect, LDAP_OPT_REFERRALS, $config['optReferrals']); + if (isset($config['networkTimeout'])) + ldap_set_option($this->connect, LDAP_OPT_NETWORK_TIMEOUT, $config['networkTimeout']); if ($port) $this->connect=ldap_connect($host, $port);