From 7d20b8a0764b08f84b1da1ef0c45bdf26a43c97c Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 20 Sep 2010 18:40:03 +0200 Subject: [PATCH] We still may need bind credentials for searching the user's DN, when re-binding as the current user. --- framework/Core/lib/Horde/Config.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/framework/Core/lib/Horde/Config.php b/framework/Core/lib/Horde/Config.php index 5863781ed..c5269f81c 100644 --- a/framework/Core/lib/Horde/Config.php +++ b/framework/Core/lib/Horde/Config.php @@ -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, -- 2.11.0