summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-04-15 15:55:38 +0000
committerthomascube <thomas@roundcube.net>2011-04-15 15:55:38 +0000
commitd1e08fc9058188f4a6f2580d304592e2c92aae85 (patch)
tree6db3c46a75f38b981a71b9ab37905de838456720 /config
parent1f6ab3556814eb8776786b5a9b318a5719fa5a35 (diff)
Replace LDAP vars in group queries (#1487837)
Diffstat (limited to 'config')
-rw-r--r--config/main.inc.php.dist11
1 files changed, 8 insertions, 3 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index cdec12715..9db039d9b 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -512,14 +512,19 @@ $rcmail_config['ldap_public']['Verisign'] = array(
),
'sort' => 'cn', // The field to sort the listing by.
'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
+ 'filter' => '(objectClass=inetOrgPerson)', // 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.
- // definition for groups, set to false if no groups are supported
+
+ // definition for contact groups (uncomment if no groups are supported)
+ // for the groups base_dn, the user replacements %fu, %u, $d and %dc work as for base_dn (see above)
+ // if the groups base_dn is empty, the contact base_dn is used for the groups as well
+ // -> in thist case, assure that groups and contacts are seperated due to the concernig filters!
'groups' => array(
- 'base_dn' => 'ou=groups,ou=rcabook,dc=localhost',
+ 'base_dn' => '',
'filter' => '(objectClass=groupOfNames)',
+ 'object_classes' => array("top", "groupOfNames"),
),
);
*/