diff options
author | thomascube <thomas@roundcube.net> | 2012-05-02 20:56:29 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2012-05-02 20:56:29 +0000 |
commit | a605b2584df2dd5bc2bd3b9ba73e71d921eb9a13 (patch) | |
tree | 28881a6693e6bb59cc6d3e92ec1a89d3c59ca694 /config | |
parent | ad31a69ad16ab93e09b500781cbb639875df4747 (diff) |
- Allow to configure the number of values allowed for each LDAP attribute
- Support for serialized LDAP address values (usually delimited with a $)
Diffstat (limited to 'config')
-rw-r--r-- | config/main.inc.php.dist | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist index 14cdfd650..f5f42d7fb 100644 --- a/config/main.inc.php.dist +++ b/config/main.inc.php.dist @@ -580,16 +580,16 @@ $rcmail_config['ldap_public']['Verisign'] = array( // the object classes (can include additional fields not required by the object classes). 'required_fields' => array('cn', 'sn', 'mail'), 'search_fields' => array('mail', 'cn'), // fields to search in - // Map of contact sub-objects (attribute name => objectClass(es)), e.g. 'c' => 'country' - 'sub_fields' => array(), // mapping of contact fields to directory attributes + // for every attribute one can specify the number of values (limit) allowed. + // default is 1, a wildcard * means unlimited 'fieldmap' => array( - // Roundcube => LDAP + // Roundcube => LDAP:limit 'name' => 'cn', 'surname' => 'sn', 'firstname' => 'givenName', 'title' => 'title', - 'email' => 'mail', + 'email' => 'mail:*', 'phone:home' => 'homePhone', 'phone:work' => 'telephoneNumber', 'phone:mobile' => 'mobile', @@ -598,17 +598,20 @@ $rcmail_config['ldap_public']['Verisign'] = array( 'zipcode' => 'postalCode', 'region' => 'st', 'locality' => 'l', -// if you uncomment country, you need to modify 'sub_fields' above -// 'country' => 'c', + // if you country is a complex object, you need to configure 'sub_fields' below + 'country' => 'c', 'organization' => 'o', - 'department' => 'departmentNumber', - 'notes' => 'description', -// these currently don't work: -// 'phone:workfax' => 'facsimileTelephoneNumber', -// 'photo' => 'jpegPhoto', -// 'manager' => 'manager', -// 'assistant' => 'secretary', + 'department' => 'ou', + 'jobtitle' => 'title', + 'notes' => 'description', + // these currently don't work: + // 'phone:workfax' => 'facsimileTelephoneNumber', + // 'photo' => 'jpegPhoto', + // 'manager' => 'manager', + // 'assistant' => 'secretary', ), + // Map of contact sub-objects (attribute name => objectClass(es)), e.g. 'c' => 'country' + 'sub_fields' => array(), 'sort' => 'cn', // The field to sort the listing by. 'scope' => 'sub', // search mode: sub|base|list 'filter' => '(objectClass=inetOrgPerson)', // used for basic listing (if not empty) and will be &'d with search queries. example: status=act |