[sync] Help with iPhone/Funambol sync
Harkin Banks
harkinbanks83 at gmail.com
Tue Jan 20 03:14:58 UTC 2009
I'm trying to sync an iPhone with Horde using the Funambol plugin. There
appear to be two errors (see /tmp/sync/log.txt below):
1. There is some issue of the strength of my authentication. I'm guessing
this might have something to do with the LDAP server, but I am not using the
security directive to set some ssf number requirement.
2. "Invalid DN syntax". It appears that the DN is not formed correctly.
The iPhone (Funambol plugin) reads "Synchronization successful", but no
contacts are synced.
Clearly, there LDAP is involved here at least as much as sync, but I'm
hoping someone has seen this sort of thing and knows what to do.
Any suggestions are much appreciated thank you.
DEBUG: Backend of class SyncML_Backend_Horde created
DEBUG: Started at 2009-01-20 02:58:46. Packet logged in
/tmp/sync/client_10.xml
DEBUG: New session created: 6b840dc08897dd9e789de34536201b66
DEBUG: Checking authentication for user hbanks at example.com
DEBUG: Authenticated: yes; version: 1.1; message ID: 1; source URI:
iph-Mw9u2wLQXo9ajlhfNgnzXg==; target URI: http://example.com/client/rpc.php;
user: hbanks at example.com; charset: UTF-8; wbxml: no
DEBUG: SQL Query by SyncML_Backend_Horde::readSyncAnchors(): SELECT
syncml_clientanchor, syncml_serveranchor FROM horde_syncml_anchors WHERE
syncml_syncpartner = ? AND syncml_db = ? AND syncml_uid = ?, values:
iph-Mw9u2wLQXo9ajlhfNgnzXg==, contacts, hbanks at example.com
DEBUG: Previous sync found for database card; client timestamp: 1232404430
DEBUG: Anchor timestamps match, TwoWaySync possible. Syncing data since
2009-01-19 22:34:06
DEBUG: Creating SyncML_Sync object for database card; sync type 200
DEBUG: Received <Final> from client.
DEBUG: Handle <Final> for state Init
DEBUG: Sending <Final> to client
DEBUG: Return message completed
DEBUG: Finished at 2009-01-20 02:58:47. Packet logged in
/tmp/sync/server_10.xml
DEBUG: Backend of class SyncML_Backend_Horde created
DEBUG: Started at 2009-01-20 02:58:59. Packet logged in
/tmp/sync/client_11.xml
DEBUG: Existing session continued: 6b840dc08897dd9e789de34536201b66
DEBUG: Authenticated: yes; version: 1.1; message ID: 2; source URI:
iph-Mw9u2wLQXo9ajlhfNgnzXg==; target URI: http://example.com/client/rpc.php;
user: hbanks at example.com; charset: UTF-8; wbxml: no
DEBUG: Using default device class
DEBUG: Handling <Add> sent from client
DEBUG: Using default device class
ERR: Error in adding client entry: Failed to add an object: [8]
"Strong(er) authentication required" DN: cn=Joe Anderson,dc=example,dc=com
(attributes:
[a:5:{s:2:"sn";s:8:"Anderson";s:9:"givenName";s:7:"Joe";s:6:"mobile";s:14:"(773)
308-3144";s:2:"cn";s:16:"Joe
Anderson";s:11:"objectclass";a:1:{i:0;s:13:"inetOrgPerson";}}]).Charset:UTF-8
... One of the above appears for each contact, then ...
DEBUG: Handling <Add> sent from client
DEBUG: Using default device class
ERR: Error in adding client entry: Failed to add an object: [34] "Invalid
DN syntax" DN: cn=,dc=example,dc=com (attributes:
[a:7:{s:15:"telephoneNumber";s:14:"(212) 201-2700";s:1:"o";s:19:"Westin
Times Square";s:6:"street";s:13:"270 W 43Rd St";s:1:"l";s:8:"New
York";s:2:"st";s:2:"NY";s:10:"postalCode";s:5:"10036";s:11:"objectclass";a:1:{i:0;s:13:"inetOrgPerson";}}]).Charset:UTF-8
... This attempt fails almost certainly because there is no First/Last name
that comprise the cn. ...
DEBUG: Received <Final> from client.
DEBUG: Handle <Final> for state Sync
DEBUG: Creating <Sync> output for server changes in database card
DEBUG: Using default device class
DEBUG: Compiling server changes from 2009-01-19 22:34:06 to 2009-01-20
02:58:47
DEBUG: Sending 0 server changes for client URI card
DEBUG: Sending <Final> to client
DEBUG: Return message completed
DEBUG: Finished at 2009-01-20 02:58:59. Packet logged in
/tmp/sync/server_11.xml
DEBUG: Backend of class SyncML_Backend_Horde created
DEBUG: Started at 2009-01-20 02:59:03. Packet logged in
/tmp/sync/client_12.xml
DEBUG: Existing session continued: 6b840dc08897dd9e789de34536201b66
DEBUG: Authenticated: yes; version: 1.1; message ID: 3; source URI:
iph-Mw9u2wLQXo9ajlhfNgnzXg==; target URI: http://example.com/client/rpc.php;
user: hbanks at example.com; charset: UTF-8; wbxml: no
DEBUG: Received <Final> from client.
DEBUG: Handle <Final> for state Completed
DEBUG: Sending <Final> to client
DEBUG: SQL Query by SyncML_Backend_Horde::readSyncAnchors(): SELECT
syncml_clientanchor, syncml_serveranchor FROM horde_syncml_anchors WHERE
syncml_syncpartner = ? AND syncml_db = ? AND syncml_uid = ?, values:
iph-Mw9u2wLQXo9ajlhfNgnzXg==, contacts, hbanks at example.com
DEBUG: SQL Query by SyncML_Backend_Horde::writeSyncAnchors(): UPDATE
horde_syncml_anchors SET syncml_clientanchor = ?, syncml_serveranchor = ?
WHERE syncml_syncpartner = ? AND syncml_db = ? AND syncml_uid = ?, values:
1232420314, 1232420327, iph-Mw9u2wLQXo9ajlhfNgnzXg==, contacts,
hbanks at example.com
INFO: Finished sync of database card. Failures: 17; changes from client
(Add, Replace, Delete, AddReplaces): 0, 0, 0, 0; changes from server (Add,
Replace, Delete): 0, 0, 0
DEBUG: Session completed and closed
DEBUG: Finished at 2009-01-20 02:59:03. Packet logged in
/tmp/sync/server_12.xml
More information about the sync
mailing list