Don't quote protocol, default to write as user.
authorJan Schneider <jan@horde.org>
Thu, 24 Jun 2010 12:56:06 +0000 (14:56 +0200)
committerJan Schneider <jan@horde.org>
Thu, 24 Jun 2010 12:56:06 +0000 (14:56 +0200)
framework/Core/lib/Horde/Config.php

index 214a200..36a4e4d 100644 (file)
@@ -660,6 +660,7 @@ class Horde_Config
         $version = array(
             '_type' => 'int',
             'required' => true,
+            'quote' => false,
             'desc' => 'LDAP protocol version',
             'switch' => array(
                 '2' => array(
@@ -683,7 +684,7 @@ class Horde_Config
 
         $writeas = array(
             'desc' => 'Bind to LDAP as which user when performing writes?',
-            'default' => $this->_default($ctx . '|writeas', 'search'),
+            'default' => $this->_default($ctx . '|user', 'search'),
             'switch' => array(
                 'user' => array(
                     'desc' => 'Bind as the currently logged-in user',