Ticket #99 (assigned defect)

Opened 2 years ago

Last modified 1 week ago

syncml:auth-md5 not implementet

Reported by: Sonador Assigned to: dgollub (accepted)
Priority: highest Component: SyncML-Plugin
Version: Severity: blocker
Keywords: Cc:

Description (Last modified by felixmoeller)

laotse:/home/hmezger# syncml-obex-client -u
Found 1 USB OBEX interfaces
Interface 0:
        Manufacturer: Sony Ericsson
        Product: Sony Ericsson W810
        Interface description: Sony Ericsson USB WMC OBEX Interface
Use '-u interface_number' to connect
laotse:/home/hmezger# syncml-obex-client -u 0 --slow-sync text/x-vcard Contacts --wbxml
connection with device succeeded
Received an Alert for the DS Server at Contacts: Type: 201, Last 0, Next 135
Slowsyncing
Just received a new session with ID 1
Session 1 reported final. flushing
There was an error in the session 1: wrong initial node

Attachments

Thread3080767168.log (22.0 kB) - added by Sonador on 08/08/06 21:55:54.
Thread3080767168.2.log (22.0 kB) - added by Sonador on 08/08/06 21:56:11.
libsyncml-auth-chal.diff (7.6 kB) - added by dgollub on 12/31/06 20:49:41.
Initial patch to handle the <Chal> node.

Change History

08/08/06 21:55:54 changed by Sonador

  • attachment Thread3080767168.log added.

08/08/06 21:56:11 changed by Sonador

  • attachment Thread3080767168.2.log added.

09/09/06 01:44:05 changed by pmarat

  • summary changed from session failed W810i syncml-obex-client to syncml:auth-md5 not implementet.
Xml input: 
<?xml version="1.0"?>
<!DOCTYPE SyncML PUBLIC "-//SYNCML//DTD SyncML 1.1//EN" "http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd">
<SyncML  xmlns="syncml:SYNCML1.1">
<SyncHdr>
 <VerDTD>1.1</VerDTD>
 <VerProto>SyncML/1.1</VerProto>
 <SessionID>1</SessionID>
 <MsgID>2</MsgID>
 <Target><LocURI>LibSyncML Test Suite</LocURI></Target>
 <Source><LocURI>IMEI:359062003627483</LocURI></Source>
 <Meta><MaxMsgSize xmlns="syncml:metinf">6000</MaxMsgSize></Meta>
</SyncHdr>
<SyncBody>
<Status>
 <CmdID>4</CmdID>
 <MsgRef>2</MsgRef>
 <CmdRef>0</CmdRef>
 <Cmd>SyncHdr</Cmd>
 <TargetRef>IMEI:359062003627483</TargetRef>
 <SourceRef>LibSyncML Test Suite</SourceRef>
 <Chal>
  <Meta>
   <Format xmlns="syncml:metinf">b64</Format>
   <Type xmlns="syncml:metinf">syncml:auth-md5</Type>
   <NextNonce xmlns="syncml:metinf">TUdGS1lNXEFMWFpFU0RTSQ==</NextNonce>
  </Meta>
 </Chal>
 <Data>212</Data>
</Status>
....

09/22/06 18:22:50 changed by havardw

  • cc set to havardw.

11/11/06 13:11:05 changed by lithium

  • cc changed from havardw to havardw, lithium.

12/28/06 20:19:56 changed by mikearthur

  • cc changed from havardw, lithium to havardw, lithium, mikearthur.

12/31/06 20:49:41 changed by dgollub

  • attachment libsyncml-auth-chal.diff added.

Initial patch to handle the <Chal> node.

12/31/06 20:53:16 changed by dgollub

  • owner changed from ehabkost to dgollub.
  • status changed from new to assigned.

Please try attached patched ( libsyncml-auth-chal.diff )...

This is only handle the <Chal> node. Actually we still have to implement the real MD5 authentication... but this seems to workaround the first problem of hanlding the node. (regarding some reports on the mailinglist.)

12/31/06 20:53:37 changed by dgollub

  • cc deleted.

01/02/07 02:22:40 changed by dgollub

jfyi: patch is commited (rev #215)

01/14/07 18:57:53 changed by lithium

With the latest packages (libopensync-plugin-syncml 0.20+svn20070104-edgy1 for ubuntu) running 'syncml-obex-client -u 0 --slow-sync text/x-vcard Contacts --wbxml' shows the vcard entries.

04/28/07 11:29:56 changed by zlgdgzl

08/12/08 14:09:05 changed by felixmoeller

  • description changed.