Hello Dick,
I have tried it again with :work and :home but without success.
phone:home and email:home do work, but all the address fields
like street:home do not work. Only the :work stuff shows up, but
unfortunately labeled as Private:
Addresse
Private Street No
City Zipcode
Country Region
This is the fieldmap i am using:
'fieldmap' => array(
'name' => 'cn',
'surname' => 'sn',
'firstname' => 'givenName',
'organization' => 'o',
'email:work' => 'mail',
'street:work' => 'street',
'locality:work' => 'l',
'country:work' => 'c',
'zipcode:work' => 'postalCode',
'region:work' => 'st',
'phone:work' => 'telephoneNumber',
'phone:workfax' => 'facsimileTelephoneNumber',
'phone:mobile' => 'mobile',
'street:home' => 'mozillaHomeStreet',
'zipcode:home' => 'mozillaHomePostalCode',
'locality:home' => 'mozillaHomeLocalityName',
'email:home' => 'mozillaSecondEmail',
'phone:home' => 'homePhone',
),
Thank you for your kind help
best regards
Andreas
Am 17.12.2011 11:26, schrieb Andreas Dick:
> hei Andreas
> 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.
>
> Andreas
>
> 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
>>
>> Andreas
--
List info: http://lists.roundcube.net/users/
BT/8f4f07cd