[RCU] question regarding fieldmap for LDAP addressbook in RC 7

Andreas Oster aoster at novanetwork.de
Wed Dec 21 07:37:26 CET 2011


Hello Andreas,

Thank you for this information. Do you know which files have
been changed ? I will pull SVN and merge the addressbook
chanches with my 0.7 stable release.

best regards

Andreas

Am 20.12.2011 20:28, schrieb Andreas Dick:
> I tested now 0.7, and yes, you are right: the behaviour is still wrong!
> I reported this allredy to Thomas and he fixed it bevore 0.7 release (in SVN) 
> And it still works with latest SVN but not with 0.7...
> Andreas
> 
> Am Dienstag, 20. Dezember 2011, 11.36:19 schrieb Andreas Oster:
>> Hello Andreas,
>>
>> no, I am using the stable 0.7 from the roundcube/sourceforge
>> website.
>>
>> best regards
>>
>> Andreas
>>
>> Am 19.12.2011 20:58, schrieb Andreas Dick:
>>> hello Andreas
>>>
>>> did you tried the latest SVN? I am not sure, but I have not yet tested
>>> 0.7 since I follow the SVN...
>>>
>>> Andreas
>>>
>>> Am Montag, 19. Dezember 2011, 08.00:16 schrieb Andreas Oster:
>>>> 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/9b404e9e



More information about the users mailing list