From: Michael M Slusarz Date: Wed, 26 May 2010 16:54:47 +0000 (-0600) Subject: Use configldap in configuration file X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=1a94c03fc74cb675e189961f16d00b20407eaa33;p=horde.git Use configldap in configuration file --- diff --git a/framework/Core/lib/Horde/Config.php b/framework/Core/lib/Horde/Config.php index 9eb26b0c5..c2f67344f 100644 --- a/framework/Core/lib/Horde/Config.php +++ b/framework/Core/lib/Horde/Config.php @@ -661,7 +661,16 @@ class Horde_Config '_type' => 'int', 'required' => true, 'desc' => 'LDAP protocol version', - 'switch' => array('2' => array('desc' => '2 (deprecated)'), '3' => array('desc' => '3')), + 'switch' => array( + '2' => array( + 'desc' => '2 (deprecated)', + 'fields' => array() + ), + '3' => array( + 'desc' => '3', + 'fields' => array() + ) + ), 'default' => $this->_default($ctx . '|version', 3) ); @@ -678,6 +687,7 @@ class Horde_Config 'switch' => array( 'user' => array( 'desc' => 'Bind as the currently logged-in user', + 'fields' => array() ), 'admin' => array( 'desc' => 'Bind with administrative/system credentials', @@ -697,7 +707,8 @@ class Horde_Config ) ), 'search' => array( - 'desc' => 'Use same credentials as used for LDAP searches' + 'desc' => 'Use same credentials as used for LDAP searches', + 'fields' => array() ) ) ); diff --git a/horde/config/conf.xml b/horde/config/conf.xml index 7501d0742..c71240eea 100644 --- a/horde/config/conf.xml +++ b/horde/config/conf.xml @@ -143,6 +143,17 @@ + + + LDAP Settings + <strong>NOTE:</strong> These are only the + <em>default</em> values for any LDAP driven backends. You + still need to configure the different systems like "Preferences" to actually + <em>use</em> a LDAP backend. + + + + Authentication Settings @@ -303,21 +314,7 @@ - - - localhost - - - - 3 - - 2 - 3 - - - false + sub sub @@ -378,7 +375,7 @@ should a user be warned?">5 - + @@ -928,44 +925,30 @@ - - - localhost - - - - 3 - - 2 - 3 - - - false - cn - - memberUid - - - posixGroup,hordeGroup - objectclass - - - posixGroup - - - - - - + + cn + + memberUid + + + posixGroup,hordeGroup + objectclass + + + posixGroup + + + + + + @@ -1669,27 +1652,12 @@ - - localhost - 389 - - o=example.com,c=US - - + uid - 3 - - 2 - 3 - - false - +