[sync] I'm syncing but still a few issues

Jan Schneider jan at horde.org
Wed Oct 24 09:20:50 UTC 2007


Zitat von Beppe <horde.sync at beep.fdns.net>:

> Beppe skrev:
>> Hi,
>>
>> After replacing my dear old phone with a Motorola RAZR2 V8. i was able
>> to do a pretty good synchronization of contacts.
>>
>> My source(backend) is a LDAP, where the entries was not added with turba.
>> Now i understand that they have to, just to get the _uid ( suid ).
>> I added some contacts in Turba and they where the only contacts showing
>> up on the phone after a sync.
>> I always thought that _uid would be added on the first sync.
>>
>> Now i have _uid on all objects and almost all of them are being
>> synchronized.
>>
>> The pattern i can see for those not being synchronized in
>> /tmp/sync/syncml_log.txt are contacts where the_uid are like this lines
>> DEBUG:  add: 20071021203756.95531gu3j57vxw9w at localhost
>> DEBUG:  check: contacts 20071021203756.95531gu3j57vxw9w at localhost
>> text/x-vcard::
>> ERR:    api export call for 20071021203756.95531gu3j57vxw9w at localhost
>> failed:  Object not found
>>
>>
>> The object is there, if i delete this contact and add it again,
>> then an other contact will be effected and not synced and the re-added is.
>>
>> Well 41 of 45 is a good start so where can this bug be hidden?
>>
>> many thanks,
>> ::Beppe
>>
>>
>
> down the trace i found out it's a variable conflict,
> In turba lib/api.php in the function _turba_export, here the $uid was
> change to my login uid(?). After this line
> require_once dirname(__FILE__) . '/base.php';
>
>
> I think its a good idea to change the source.php.dist
> Where the example for a personal_ldap ("My Address Book") is the one i
> based mine.
> Here you can see that $uid is used like this "$uid =
> Auth::getBareAuth();" and change the ldap search criteria.
>
> Now i get 100% synchronization,
>
> ::Beppe
>
> --
> sync mailing list - Join the hunt: http://horde.org/bounties/#sync
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sync-unsubscribe at lists.horde.org
>


Please create a ticket on http://bugs.horde.org/.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the sync mailing list