From: Jan Schneider Date: Mon, 20 Sep 2010 16:40:03 +0000 (+0200) Subject: We still may need bind credentials for searching the user's DN, when re-binding X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7d20b8a0764b08f84b1da1ef0c45bdf26a43c97c;p=horde.git We still may need bind credentials for searching the user's DN, when re-binding as the current user. --- 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,