set default delegation filter to include mail addresses of shared mailboxes
This commit is contained in:
parent
0d2f804e66
commit
620985d0f1
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
// This will overwrite defined LDAP filter
|
||||
// Note: LDAP addressbook defined for kolab_auth plugin is used
|
||||
$config['kolab_delegation_filter'] = '(objectClass=kolabInetOrgPerson)';
|
||||
$config['kolab_delegation_filter'] = '(|(objectClass=kolabInetOrgPerson)(&(objectclass=kolabsharedfolder)(kolabFolderType=mail)))';
|
||||
|
||||
// Delegates field (from fieldmap configuration) to get delegates list
|
||||
// Note: This is a field name, not LDAP attribute name
|
||||
|
|
|
@ -223,7 +223,7 @@ class kolab_delegation_engine
|
|||
}
|
||||
|
||||
// Default filter of LDAP queries
|
||||
$this->ldap_filter = $this->rc->config->get('kolab_delegation_filter', '(objectClass=kolabInetOrgPerson)');
|
||||
$this->ldap_filter = $this->rc->config->get('kolab_delegation_filter', '(|(objectClass=kolabInetOrgPerson)(&(objectclass=kolabsharedfolder)(kolabFolderType=mail)))');
|
||||
// Name of the LDAP field for delegates list
|
||||
$this->ldap_delegate_field = $this->rc->config->get('kolab_delegation_delegate_field', 'kolabDelegate');
|
||||
// Encoded LDAP DN of current user, set on login by kolab_auth plugin
|
||||
|
|
Loading…
Add table
Reference in a new issue