Hello Andreas,

this is what I see for a user with work AND home adrress in LDAP:

<--

Contact properties

Email
Work  work@mail
Home  home@mail

Phone
Work work-phone-no
Work Fax work-facsimile-no
Mobile work-mobile-no
Home home-phone-no

Address
Work work-street
work-city work-zipcode
work-country work-region

Website
Work work-website
Home home-website

-->

There is no dropdown anywhere near the address block.

Private address display is not working.

Thank you for you patience and kind help.

best regards

Andreas


Am 21.12.2011 17:32, schrieb Andreas Dick:
> my question was, what do you see in the gui?
> -> a dropdown left from the address? or even something like "Address"?
> if you change the dropdown, do it not change?
> or what does not work?
> Andreas
> 
> 
> Am Mittwoch, 21. Dezember 2011, 16.32:27 schrieb Andreas Oster:
>> Hello Andreas,
>>
>> this is my entry for fieldmap in main.inc.php:
>>
>> 'fieldmap' => array(
>>         'name' => 'cn',
>>         'email:work' => 'mail',
>>         'surname' => 'sn',
>>         'firstname' => 'givenName',
>>         'organization' => 'o',
>>         'street:work' => 'street',
>>         'zipcode:work' => 'postalCode',
>>         'locality:work' => 'l',
>>         'region:work' => 'st',
>>         'country:work' => 'c',
>>         'phone:work' => 'telephoneNumber',
>>         'phone:workfax' => 'facsimileTelephoneNumber',
>>         'phone:mobile' => 'mobile',
>>         'phone:homefax' => 'otherfacsimileTelephoneNumber',
>>         'street:home' => 'mozillaHomeStreet',
>>         'region:home' => 'mozillaHomeState',
>>         'zipcode:home' => 'mozillaHomePostalCode',
>>         'locality:home' => 'mozillaHomeLocalityName',
>>         'email:home' => 'mozillaSecondEmail',
>>         'phone:home' => 'homePhone',
>>         'photo' => 'jpegPhoto',
>>         'website:work' => 'workurl',
>>         'website:home' => 'homeurl',
>>     ),
>>
>> For a user with populated LDAP fields mozillaHomeStreet,
>> mozillaHomeState... these values are not shown. Only the
>> business (:work) address stuff will be displayed.
>>
>> email:home, website:home and phone:home are visible, though.
>>
>>
>> Contact properties
>>
>> Email
>> Work  work@mail
>> Home  home@mail
>>
>> Phone
>> Work work-phone-no
>> Work Fax work-facsimile-no
>> Mobile work-mobile-no
>> Home home-phone-no
>>
>> Address
>> Work work-street
>> work-city work-zipcode
>> work-country work-region
>>
>> Website
>> Work work-website
>> Home home-website
>>
>> best regards
>>
>> Andreas
>>
>> Am 21.12.2011 16:08, schrieb Andreas Dick:
>>> Am Mittwoch, 21. Dezember 2011, 09.03:59 schrieb Andreas Oster:
>>>> Hello Andreas,
>>>>
>>>> I have upgraded my installation to trunk-5634. Now the
>>>> business address will be labeled correctly, but the
>>>> private address still does not show up.
>>>>
>>>> Any idea how to solve this ?
>>>
>>> what kind of fields do you see? what types to choose?
>>> please report this to Thomas, he is the right core dev for that, (but he
>>> has not allways time to react :-)
>>> Andreas
>>>
>>>> Thank you for your kind help.
>>>>
>>>> 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/8f4f07cd

Reply via email to