[horde] Activesync Contacts

Roman Gelfand rgelfand2 at gmail.com
Sun Jan 25 01:50:23 UTC 2015


I am still confused...

This was my name map

'name' => 'cn'

I changed it to

'name' => array('fields' => array('givenName', 'sn', 'o'),
                         'format' => '%s %s %s')

The problem is, cn is required.  This cn needs to be mapped to name.  How
do I get the contents of name to cn?





On Fri, Jan 23, 2015 at 9:51 AM, Michael J Rubinsky <mrubinsk at horde.org>
wrote:

> Please don't top post.
>
> Quoting Roman Gelfand <rgelfand2 at gmail.com>:
>
>  Looking at turba/config/backends.php, I find
>> this $cfgSources['personal_ldap'], which contains mapping from ldap to
>> horde attributes.  The name, in my case, could be a combination of first
>> name and/or last name and/or company separated by comma.  Where can I do
>> that?  Please note, I don't want that name should be enterable.  Rather,
>> it
>> should combined from several fields.
>>
>
> This is exactly what composite fields are for. See the example in the
> localsql configuration.
>
>
>
>  On Thu, Jan 22, 2015 at 4:44 PM, Michael J Rubinsky <mrubinsk at horde.org>
>> wrote:
>>
>>
>>> Quoting Roman Gelfand <rgelfand2 at gmail.com>:
>>>
>>>  My backend address book is personal ldap.  LDAP requires name attribute.
>>>
>>>> The phone contacts only has last name and first name.  If possible,
>>>> which
>>>> hook I need to change to pre-populate name with first name and/or last
>>>> name
>>>> and/or company?
>>>>
>>>> Thanks in advance
>>>> --
>>>> Horde mailing list
>>>> Frequently Asked Questions: http://horde.org/faq/
>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>>
>>>>
>>> This is taken care of in your backends[.local].php file by creating a
>>> composite field for name.
>>>
>>> --
>>> mike
>>> The Horde Project
>>> http://www.horde.org
>>> https://www.facebook.com/hordeproject
>>> https://www.twitter.com/hordeproject
>>>
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>
>>>
>>>
>
>
> --
> mike
> The Horde Project
> http://www.horde.org
> https://www.facebook.com/hordeproject
> https://www.twitter.com/hordeproject
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>


More information about the horde mailing list