summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-02-07 17:49:05 +0100
committerThomas Bruederli <thomas@roundcube.net>2013-02-07 17:49:05 +0100
commite43cc4bd9d6c99f8737ee8a316c21ba3a0dbd04a (patch)
tree94a3e39212fee134dbf8469a58f649aecff64e9e /config
parentde98a897f618c4d251a4d3a5e3d2e4f2bb9a441b (diff)
Describe the new option 'group_filters' in the sample config block
Diffstat (limited to 'config')
-rw-r--r--config/main.inc.php.dist21
1 files changed, 19 insertions, 2 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index d4246a001..e0b6807e5 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -636,6 +636,7 @@ $rcmail_config['ldap_public']['Verisign'] = array(
'phone:work' => 'telephoneNumber',
'phone:mobile' => 'mobile',
'phone:pager' => 'pager',
+ 'phone:workfax' => 'facsimileTelephoneNumber',
'street' => 'street',
'zipcode' => 'postalCode',
'region' => 'st',
@@ -646,9 +647,8 @@ $rcmail_config['ldap_public']['Verisign'] = array(
'department' => 'ou',
'jobtitle' => 'title',
'notes' => 'description',
+ 'photo' => 'jpegPhoto',
// these currently don't work:
- // 'phone:workfax' => 'facsimileTelephoneNumber',
- // 'photo' => 'jpegPhoto',
// 'manager' => 'manager',
// 'assistant' => 'secretary',
),
@@ -682,6 +682,23 @@ $rcmail_config['ldap_public']['Verisign'] = array(
'name_attr' => 'cn', // attribute to be used as group name
'member_filter' => '(objectclass=*)', // optional filter to use when querying for group members
),
+ // this configuration replaces the regular groups listing in the directory tree with
+ // a hard-coded list of groups, each listing entries with the configured base DN and filter.
+ // if the 'groups' option from above is set, it'll be shown as the first entry with the name 'Groups'
+ 'group_filters' => array(
+ 'departments' => array(
+ 'name' => 'Company Departments',
+ 'scope' => 'list',
+ 'base_dn' => 'ou=Groups,dc=mydomain,dc=com',
+ 'filter' => '(|(objectclass=groupofuniquenames)(objectclass=groupofurls))',
+ ),
+ 'customers' => array(
+ 'name' => 'Customers',
+ 'scope' => 'sub',
+ 'base_dn' => 'ou=Customers,dc=mydomain,dc=com',
+ 'filter' => '(objectClass=inetOrgPerson)',
+ ),
+ ),
);
*/