From 6039aae3878aa5880415290cbc41af4bac4fdcb5 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sat, 29 Jan 2011 06:31:23 -0500
Subject: [PATCH] Add groups support for LDAP address books, contributed by Andreas Dick

---
 config/main.inc.php.dist |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index cf111db..7dfca7a 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -501,8 +501,13 @@
   'scope'         => 'sub',   // search mode: sub|base|list
   'filter'        => '',      // used for basic listing (if not empty) and will be &'d with search queries. example: status=act
   'fuzzy_search'  => true,    // server allows wildcard search
-  'sizelimit'     => '0',     // Enables you to limit the count of entries fetched. Setting this to 0 means no limit. 
-  'timelimit'     => '0',     // Sets the number of seconds how long is spend on the search. Setting this to 0 means no limit. 
+  'sizelimit'     => '0',     // Enables you to limit the count of entries fetched. Setting this to 0 means no limit.
+  'timelimit'     => '0',     // Sets the number of seconds how long is spend on the search. Setting this to 0 means no limit.
+  // definition for groups, set to false if no groups are supported
+  'groups'        => array(
+    'base_dn'     => 'ou=groups,ou=rcabook,dc=localhost',
+    'filter'      => '(objectClass=groupOfNames)',
+  ),
 );
 */
 

--
Gitblit v1.9.1