summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-08 12:51:21 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-08 12:51:21 +0100
commitc9436219f3e97ef0103ae0af25f40d8061f71ca6 (patch)
tree3b0cf6036f1c4dd2b46db1f0f93d31135252eb95 /share
parentc1b1072c2f3b52365096b0feb0ac931d46cf8b5b (diff)
downloadpykolab-c9436219f3e97ef0103ae0af25f40d8061f71ca6.tar.gz
Add kolab_delegation configuration
Diffstat (limited to 'share')
-rw-r--r--share/templates/roundcubemail/kolab_delegation.inc.php.tpl26
1 files changed, 26 insertions, 0 deletions
diff --git a/share/templates/roundcubemail/kolab_delegation.inc.php.tpl b/share/templates/roundcubemail/kolab_delegation.inc.php.tpl
new file mode 100644
index 0000000..563534d
--- /dev/null
+++ b/share/templates/roundcubemail/kolab_delegation.inc.php.tpl
@@ -0,0 +1,26 @@
+<?php
+ // This will overwrite defined LDAP filter
+ // Note: LDAP addressbook defined for kolab_auth plugin is used
+ \$config['kolab_delegation_filter'] = '(|(objectClass=kolabInetOrgPerson)(objectclass=kolabsharedfolder))';
+
+ // Delegates field (from fieldmap configuration) to get delegates list
+ // Note: This is a field name, not LDAP attribute name
+ // Note: LDAP addressbook defined for kolab_auth plugin is used
+ \$config['kolab_delegation_delegate_field'] = 'kolabDelegate';
+
+ // User authentication ID field (from fieldmap configuration)
+ // See kolab_auth plugin config
+ \$config['kolab_delegation_login_field'] = 'email';
+
+ // Use this fields (from fieldmap configuration) for identities
+ // If the value array contains more than one field, first non-empty will be used
+ // Note: These are not LDAP attributes, but field names in config
+ // Note: If there are more than one email address, as many identities will be created
+ // See kolab_auth plugin config
+ \$config['kolab_delegation_name_field'] = array('name', 'cn');
+ \$config['kolab_delegation_email_field'] = array('email');
+
+ // Remove all user identities which do not match the users primary or alias
+ // addresses and delegators addresses
+ \$config['kolab_delegation_purge_identities'] = false;
+?>