[horde] ActiveSync Configuration Issue

Roman Gelfand rgelfand2 at gmail.com
Wed Jan 28 13:57:32 UTC 2015


It doesn't appear that fromASContact is ever being called.

I just tried to take a different route and inserted the following statement
at the top of fromASContact function

Horde::log(sprintf('DEBUG_TOP******', $input), 'INFO');

I tested this statement in rpc.php and it worked.

On Wed, Jan 28, 2015 at 6:07 AM, Roman Gelfand <rgelfand2 at gmail.com> wrote:

> As an addendum to the previous post. ..  could it be that it either didn't
> hit fromASContact function?
> On Jan 28, 2015 6:01 AM, "Roman Gelfand" <rgelfand2 at gmail.com> wrote:
>
>> I tried both.   Neither worked.
>> On Jan 27, 2015 9:16 PM, "Michael J Rubinsky" <mrubinsk at horde.org> wrote:
>>
>>>
>>> PLEASE DO NOT TOP POST.
>>>
>>> Quoting Roman Gelfand <rgelfand2 at gmail.com>:
>>>
>>>  I have edited the Driver.php's fromASContact function to include
>>>> debug($hash);
>>>> in the beginning and the end of the function.  The horde_debug.txt never
>>>> got created in /tmp directory.
>>>>
>>>
>>> That is because I told you to use Horde::debug(), not debug().
>>>
>>>
>>>  On Tue, Jan 27, 2015 at 4:29 PM, Michael J Rubinsky <mrubinsk at horde.org
>>>> >
>>>> wrote:
>>>>
>>>>
>>>>> Quoting Roman Gelfand <rgelfand2 at gmail.com>:
>>>>>
>>>>>  I am trying to sync Firstname, Lastname, Work phone between android
>>>>> phone
>>>>>
>>>>>> (
>>>>>> active sync )  horde and backend personal_ldap.  It works when I add a
>>>>>> contact from horde but not from android.
>>>>>>
>>>>>> backends.php  (horde to personal_ldap map)
>>>>>>         'name' => array('fields' => array('lastname', 'firstname',
>>>>>> 'company'),
>>>>>>                          'format' => '%s, %s, %s',
>>>>>>                          'attribute' => 'cn')
>>>>>>         'firstname' => 'givenName',
>>>>>>         'lastname' => 'sn',
>>>>>>         'workPhone' => 'telephoneNumber',
>>>>>>
>>>>>>
>>>>>> in Drivers.php (ActiveSync to Horde map)
>>>>>>        'name' => 'fileas',
>>>>>>         'lastname' => 'lastname',
>>>>>>         'firstname' => 'firstname',
>>>>>>         'workPhone' => 'businessphonenumber',
>>>>>> --
>>>>>> Horde mailing list
>>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>>>>
>>>>>>
>>>>> Without more information it's impossible to say what's going on.
>>>>>
>>>>> Look in Turba_Driver::fromASContact(). Use Horde::debug($hash);
>>>>> (output is
>>>>> in horde_debug.txt in your temp directory) at the end of that method to
>>>>> find out what the value of the hash is after we convert it from the AS
>>>>> object.
>>>>>
>>>>> --
>>>>> 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