summaryrefslogtreecommitdiffstats
path: root/share/templates/roundcubemail/kolab_delegation.inc.php.tpl
blob: 563534d59003c1ffb42259f8e3bcdd67262914de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;
?>