Roundcube Community Forum

 

defaults.inc.php documentation update pending

Started by SoporteVLC, June 13, 2023, 06:21:19 AM

Previous topic - Next topic

SoporteVLC

Hi, this is our first topic.

We discovered that defaults.inc.php (fieldmap - ldap section) file documentation needs updates. Lines like:

'street'      => 'street',
    'zipcode'     => 'postalCode',
    'region'      => 'st',
    'locality'    => 'l',

has to be writen this way to work:

'address:street'      => 'street',
    'address:zipcode'     => 'postalCode',
    'address:region'      => 'st',
    'address:locality'    => 'l',

we hope it can help anyone.

Also notice that on second level atribute (phone: something, or address: something) we have used region-localized words (spanish without accents) and also works well for the actual version of roundcube:

                'fieldmap' => array(
                        'name' => 'cn',
                        'email' => 'mail',
                        'surname' => 'sn',
                        'firstname' => 'givenName',
                        'jobtitle' => 'title',
                        'phone:Movil' => 'telephoneNumber',
                        'phone:Extension' => 'mobile',
                        'organization' => 'Company',
                        'department' => 'department',
                        'address:Sede' => 'l',
                        'address:Oficina' => 'physicalDeliveryOfficeName',
                        'address:login' => 'samAccountName',

Best regards.