We still may need bind credentials for searching the user's DN, when re-binding
authorJan Schneider <jan@horde.org>
Mon, 20 Sep 2010 16:40:03 +0000 (18:40 +0200)
committerJan Schneider <jan@horde.org>
Mon, 20 Sep 2010 16:40:03 +0000 (18:40 +0200)
as the current user.

framework/Core/lib/Horde/Config.php

index 5863781..c5269f8 100644 (file)
@@ -721,6 +721,18 @@ class Horde_Config
                         'desc' => 'Bind as the currently logged-in user',
                         'fields' => array(
                             'user' => array(
+                                'binddn' => array(
+                                    '_type' => 'text',
+                                    'required' => false,
+                                    'desc' => 'DN used to bind for searching the user\'s DN (leave empty for anonymous bind)',
+                                    'default' => $this->_default($ctx . '|binddn', '')
+                                ),
+                                'bindpw' => array(
+                                    '_type' => 'text',
+                                    'required' => false,
+                                    'desc' => 'Password for bind DN',
+                                    'default' => $this->_default($ctx . '|bindpw', '')
+                                ),
                                 'uid' => array(
                                     '_type' => 'text',
                                     'required' => true,