From: Ben Klang Date: Wed, 30 Dec 2009 16:09:55 +0000 (-0500) Subject: Extra field necessary for LDAP X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3879ec076e1dfe4f4c33565ae2752b24d2d3d008;p=horde.git Extra field necessary for LDAP --- diff --git a/framework/Core/lib/Horde/Config.php b/framework/Core/lib/Horde/Config.php index 57e741c54..f93babfdc 100644 --- a/framework/Core/lib/Horde/Config.php +++ b/framework/Core/lib/Horde/Config.php @@ -656,6 +656,14 @@ class Horde_Config 'default' => $this->_default($ctx . '|basedn', '') ); + $version = array( + '_type' => 'int', + 'required' => true, + 'desc' => 'LDAP protocol version', + 'switch' => array('2' => array('desc' => '2 (deprecated)'), '3' => array('desc' => '3')), + 'default' => $this->_default($ctx . '|version', 3) + ); + $port = array( '_type' => 'int', 'required' => false, @@ -710,6 +718,7 @@ class Horde_Config $custom_fields = array( 'hostspec' => $hostspec, 'port' => $port, + 'version' => $version, 'tls' => $tls, 'searchdn' => $searchdn, 'searchpw' => $searchpw,