[sync] Can not sync contacts from LDAP addressbook

Jan Schneider jan at horde.org
Mon Feb 14 22:21:50 UTC 2011


Zitat von Mehmet Giritli <mgiritli at giritli.eu>:

> On Mon, 2011-02-14 at 12:03 +0100, Jan Schneider wrote:
>> Zitat von Mehmet Giritli <mgiritli at giritli.eu>:
>>
>> > On Sun, 2011-02-13 at 17:54 +0100, Jan Schneider wrote:
>> >> Zitat von Mehmet Giritli <mgiritli at giritli.eu>:
>> >>
>> >> > reports an error. I really have no idea what to do. Could you give me
>> >> > some tips? Is there a verbose/debug switch for horde where I can see
>> >> > whats going on during syncing?
>> >>
>> >> http://wiki.horde.org/SyncMLProblemReport
>> >>
>> >> Jan.
>> >>
>> >> --
>> >> Do you need professional PHP or Horde consulting?
>> >> http://horde.org/consulting/
>> >>
>> >
>> > Log files attached.
>> >
>> > I think my problem is apparent with the lines saying: "Added to server
>> > from client during SlowSync: <blah blah> ignored". Hence I am not
>> > getting any sync done, because my contacts in ldap server are ignored.
>> > Why is that?
>>
>> Because this is a slow sync (first sync, which adds all clients
>> objects to the server and vice versa), but Horde still finds existing
>> server-client-mappings for those objects.
>> This happens if you reset sync anchors, even though you already
>> synched in the past. I assume this still is a test install, so simply
>> empty the horde_syncml_map and horde_synchml_anchors tables.
>>
>> > Also, is it possible to say from the logs why the attributes of photo
>> > and nickname are not being synced (when I rarely get any syncing done)?
>> >
>>
>> No, because it doesn't even get that far.
>
> OK, thanks again man. Clearing the tables did the trick. But shouldn't
> there be a ui for clearing those tables? I thought clearing syncml data
> from the global options would do that, but apparently it doesn't.

http://bugs.horde.org/h/whups/ticket/9377

> So, can you tell anything now for the photo, category and nickname
> attributes not getting synced?

Not without sync logs from an otherwise successful sync.

> On a side note, what happens then the contacts in the ldap server got
> changed by another program? I think horde can not detect that for sync
> at the moment. Am I wrong?

No, this is correct. The sync server relies on the History backend  
logging any changes, deletions, additions in the backend.

Jan.

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



More information about the sync mailing list