Re: Can not sync contacts from LDAP addressbook

"Mehmet Giritli" <[email protected]>
Newsgroups gmane.comp.horde.sync
Message-ID <[email protected]>
On Thu, 2011-02-10 at 10:44 +0100, Jan Schneider wrote:
> Zitat von Mehmet Giritli <[email protected]>:
> 
> > Hi,
> >
> > I am trying to sync my contacts with a turba addressbook which is
> > ldap-based. Everything works within turba and I am able to sync notes
> > and calendar with my mobile (nokia e63) without any problems. However,
> > none of the contacts appear on my phone after sync. I emptied all the
> > contacts from my phone, cleared all syncml data from horde and tried it
> > many times but I couldnt get it to sync even one contact.
> >
> > Phone doesn't give any errors. But in horde logs I see this:
> >
> > Feb 10 10:49:30 gollum HORDE[21739]: [horde] API export call for
> > failed: Invalid ID [pid 21739 on line 497 of
> > "/var/www/horde/htdocs/horde/lib/SyncML/Sync.php"]
> >
> > Of course, I have selected the ldap addressbook to sync from the
> > options, needless to say. And as I already mentioned, everything works
> > fine with turba, browsing, editing contacts and so on. Any ideas?
> >
> > Turba 2.3.5
> > Horde 3.3.11
> 
> Do you have __uid mapped to some ldap attribute in your  
> turba/config/sources.php?

Here is a copy-paste of my map array. As you can see, the answer to your
question is yes. I also have __key. So, should I remove these or what?

     'map' => array(
         '__key' => 'dn',
//
//         // Remove this mapping if using Active Directory server:
         '__uid' => 'uid',
//
//         // From horde.schema.  Make sure you have 'turbaContact'
objectClass
//         // included above:
//         // '__type' => 'turbaType',
//         // '__members' => 'turbaMembers',
//
         'name' => 'cn',
        'firstname' => 'givenName',
        'lastname' => 'sn',
//      'middlenames' => 'initials',
         'emails' => 'mail',
         'photo' => 'jpegPhoto',
        'category' => 'category',
        'alias' => 'displayName',
        'fileas' => 'fileAs',
         'homePhone' => 'homephone',
         'workPhone' => 'telephonenumber',
         'cellPhone' => 'mobile',
         'otherPhone' => 'otherPhone',
         'homeAddress' => 'homepostaladdress',
        'otherAddress' => 'otherpostaladdress',
        'birthday' => 'birthDay',
        'anniversary' => 'anniversary',

//
//         // From rfc2739.schema:
//         // 'freebusyUrl' => 'calFBURL',
//
//         // For Active Directory servers:
//         // 'name' => 'displayname',
//         // 'title' => 'title',
//         // 'cellPhone' => 'mobile',
//         // 'department' => 'department',
//         // 'company' => 'company',
     ),



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


-- 
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.