[sync] funambol sync 1.1.5 on blackberry 7280 authn/login not working
Karsten Fourmont
fourmont at gmx.de
Fri Sep 29 06:01:28 PDT 2006
David Rudder wrote:
> So, I'm working on my sync to my new Horde install from CVS (installed
> the day before yesterday from CVS's HEAD). syncevolution works, but
> funamboil's sync4j 1.1.5 doesn't. I get an authentication error.
> [...] My username is drig at noses.org
Maybe it's the realm handling by horde, I don't know much about this.
What does the horde.log entry
"SyncML: authorized=? version=1 ... username=xxxx ... [on line 293..."
say for username and authorized?
Anybody knows if I have to call
$auth->authenticate('drig at noses.org', $pwd);
or
$auth->authenticate('drig', $pwd, true, 'noses.org');
for this username?
Cheers,
Karsten
> Here's the log (ethereal capture of the http traffic):
>
> POST /horde/rpc.php HTTP/1.1^M
> Host: drig.homelinux.org^M
> Connection: close^M
> User-Agent: BlackBerry/4.0.0.171^M
> Content-Length: 708^M
> Content-Type: application/vnd.syncml+xml^M
> Content-Language: en-US^M
> ^M
> <SyncML>^M
> <SyncHdr>^M
> <VerDTD>1.1</VerDTD>^M
> <VerProto>SyncML/1.1</VerProto>^M
> <SessionID>12345678</SessionID>^M
> <MsgID>1</MsgID>^M
> <Target><LocURI>http://drig.homelinux.org/horde/rpc.php</LocURI></Target>^M
> <Source><LocURI>sc-pim-blackberry</LocURI></Source>^M
> <Cred>^M
> <Meta><Type xmlns="syncml:metinf">syncml:auth-basic</Type></Meta>^M
> <Data>!BASE64 password!</Data>^M
> </Cred>^M
> </SyncHdr>^M
> <SyncBody>^M
> <Alert>
> <CmdID>1</CmdID>
> <Data>200</Data>
> <Item>
> <Target><LocURI>calendar</LocURI></Target>
> <Source><LocURI>calendar</LocURI></Source>
> <Meta>
> <Anchor xmlns="syncml:metinf">
> <Last>1157769614970</Last>
> <Next>1158020312650</Next>
> </Anchor>
> </Meta>
> </Item>
> </Item>
> </Alert>
> ^M
> <Final/>^M
> </SyncBody>^M
> </SyncML>^M
>
> HTTP/1.1 200 OK^M
> Date: Tue, 12 Sep 2006 00:19:13 GMT^M
> Server: Apache/2.2.0 (Fedora)^M
> X-Powered-By: PHP/5.1.4^M
> Set-Cookie: Horde=syncmlscpimblackberry12345678; path=/horde;
> domain=drig.homelinux.org^M
> Expires: Thu, 19 Nov 1981 08:52:00 GMT^M
> Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
> pre-check=0^M
> Pragma: no-cache^M
> Content-length: 929^M
> Accept-Charset: UTF-8^M
> Connection: close^M
> Content-Type: application/vnd.syncml+xml^M
> ^M
> <SyncML
> xmlns="syncml:syncml1.1"><SyncHdr><VerDTD>1.1</VerDTD><VerProto>SyncML/1.1</VerProto><SessionID>12345678</SessionID><MsgID>1</MsgID><Target><LocURI>sc-pim-blackberry</LocURI><LocName></LocName></Target><Source><LocURI>http://drig.homelinux.org/horde/rpc.php</LocURI></Source></SyncHdr><SyncBody><Status><CmdID>1</CmdID><MsgRef>1</MsgRef><CmdRef>0</CmdRef><Cmd>SyncHdr</Cmd><TargetRef>http://drig.homelinux.org/horde/rpc.php</TargetRef><SourceRef>sc-pim-blackberry</SourceRef><Chal><Meta><Type
> xmlns="syncml:metinf">syncml:auth-basic</Type><Format
> xmlns="syncml:metinf">b64<
> /Format></Meta></Chal><Data>401</Data></Status><Status><CmdID>2</CmdID><MsgRef>1</MsgRef><CmdRef>1</CmdRef><Cmd>Alert</Cmd><Data>401</Data></Status><Get><CmdID>3</CmdID><Meta><Type
> xmlns="syncml:metinf">application/vnd.syncml-devinf+xml</Type></Meta><Item><Target><LocURI>./devinf11</LocURI></Target></Item></Get><Final></Final></SyncBody></SyncML>
>
>
>
>
> I fuzzed out my password (look for !BASE64 password!), but I decoded the
> base64 and it's right. username:password My username is
> drig at noses.org, and my password just has numbers and letters. No funky
> symbols other than the @ in the username. And I know this works because
> it works with syncevolution and the website.
>
> Anything I can try to make this work?
>
> Thanks,
> Dave
More information about the sync
mailing list