[RCU] question regarding fieldmap for LDAP addressbook in RC 7
andudi at gmx.ch
Sat Dec 17 11:26:48 CET 2011
I am still setting up a wiki page at trac for that issue, but not yet finished.
the easiest would be to use it as in the default config file:
'street' => 'street',
'zipcode' => 'postalCode',
'locality' => 'l',
'country' => 'c',
(not as array!)
but since 0.6 you have a plenty of more options:
'street:home' => 'street',
'locality:home' => 'l',
'zipcode:home' => 'postalCode',
'region:home' => 'st',
'country:home' => 'c',
'street:work' => 'workstreet',
'locality:work' => 'workl',
'zipcode:work' => 'workpostalCode',
'region:work' => 'workst',
'country:work' => 'workc',
or similar, unless that LDAP do not support "work*" from scratch... you have
to check the schema of your server for the correct fields.
Am Donnerstag, 15. Dezember 2011, 15.13:44 schrieb Andreas Oster:
> Hello all,
> today I have upgraded my Roundcube installation from 5.2 to 7.0.
> The update worked well end everything seems to work like a charm,
> except the addressbook. I had to change some parameters in
> main.inc.php and our skin to get the LDAP entries to display again.
> What I would like to know is how to use the 'address' fieldmap for
> work and home addresses. In LDAP we do not have a composite address
> but only street, locality, zipcode, region, country in seperate
> LDAP fields.
> I have tried something like:
> 'address:work' => array(
> 'street' => 'street',
> 'locality' => 'l',
> 'zipcode' => 'postalCode',
> 'region' => 'st',
> 'country' => 'c',
> but this does not seem to work.
> Can someone point me in the right direction to fix this ?
> Thank you for your kind help.
> best regards
List info: http://lists.roundcube.net/users/
More information about the users