From e3caaf59c20fd556364f838ae6082b3e2fba6d56 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 17 May 2007 11:58:51 -0400
Subject: [PATCH] Use global filters and bind username/ for Ldap searches (#1484159)

---
 config/main.inc.php.dist |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 894dfa4..d11888d 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -197,10 +197,13 @@
  *  'hosts'         => array('directory.verisign.com'),
  *  'port'          => 389,
  *  'base_dn'       => '',
+ *  'bind_dn'       => '',
+ *  'bind_pass'     => '',
  *  'search_fields' => array('mail', 'cn'),  // fields to search in
  *  'name_field'    => 'cn',    // this field represents the contact's name
  *  'email_field'   => 'mail',  // this field represents the contact's e-mail
  *  'scope'         => 'sub',   // search mode: sub|base|list
+ *  'filter'        => '',      // will be &'d with search field ex: (status=act)
  *  'fuzzy_search'  => true);   // server allows wildcard search
  */
 

--
Gitblit v1.9.1