[sync] Once again: Auth. problems with Nokia.

Easy lists at digital.ktu.lt
Sat Jul 30 09:28:02 PDT 2005


Hi all,

So, as I can see, when trying to sync with my nokia phone, something goes wrong 
with authorisation. As I wrote before the line in the log file looks like this:
Jul 19 13:07:37 HORDE [debug] [horde] SyncML: authorized= version=1 msgid=1 
source=IMEI:356228002178777 target=http://path.to.my.server/rpc.php user= 
charset=ISO-8859-1 [on line 211 of "/usr/lib/php/Horde/SyncML.php"]
When using SyncClient Outlook the log is like this:
Jul 30 17:48:16 HORDE [notice] [imp] Login success for easy [193.219.160.148] to 
{digital.ktu.lt:143} [on line 113 of "/var/www/htdocs/webmail/imp/lib/api.php"]
Jul 30 17:48:16 HORDE [debug] [horde] SyncML: authorized=1 version=1 msgid=1 
source=sc-pim-outlook target=http://my.server user=myuser charset=ISO-8859-1 [on 
line 211 of "/usr/lib/php/Horde/SyncML.php"]

I looked closer to /tmp/sync. I'we made the synchronization from my phone and 
then from outlook client. In /tmp/sync there are some files syncml_client_0.xml 
and syncml_client_0.wbxml. .wbxml files do exist only for phone connections.
OK, here it is, Outlook:

<SyncML>
<SyncHdr>
<VerDTD>1.1</VerDTD>
<VerProto>SyncML/1.1</VerProto>
<SessionID>1</SessionID>
<MsgID>1</MsgID>
<Target><LocURI>http://mail.digital.ktu.lt</LocURI></Target>
<Source><LocURI>sc-pim-outlook</LocURI></Source>
<Cred>
<Meta><Format xmlns='syncml:metinf'>b64</Format><Type 
xmlns='syncml:metinf'>syncml:auth-basic</Type></Meta>
<Data>ZWFzeTp0ZXN0YXM=</Data>
</Cred>
</SyncHdr>

And here - phone:
<SyncML xmlns="syncml:SYNCML1.1">
<SyncHdr>
    <VerDTD>1.1</VerDTD>
    <VerProto>SyncML/1.1</VerProto>
    <SessionID>12</SessionID>
    <MsgID>1</MsgID>
    <Target>
        <LocURI>http://mail.digital.ktu.lt/rpc.php</LocURI>
    </Target>
    <Source>
        <LocURI>IMEI:356228002178777</LocURI>
    </Source>
    <Meta>
        <MaxMsgSize xmlns="syncml:metinf">3584</MaxMsgSize>
    </Meta>
</SyncHdr>

I'we noticed that in the xml file created for phone connection there is no <Type 
xmlns='syncml:metinf'>syncml:auth-basic</Type> which I think should take care of 
authorization.

So, here all my thougs are finished. Maybe anyone could help?

Algirdas 




More information about the sync mailing list