[sync] funambol sync 1.1.5 on blackberry 7280 authn/login not working

David Rudder david at reliableresponse.net
Sun Oct 8 07:34:34 PDT 2006


I updated my CVS, but no luck so far.  I added this line
to /usr/share/pear/SyncML.php
            $GLOBALS['backend']->logMessage('Authorizing with user=' .
                $user . ', cred data=' . $hdr->getCredData() .
                ', format=' . $hdr->getCredFormat() .
                ', type=' . $hdr->getCredType(),
                __FILE__, __LINE__, PEAR_LOG_DEBUG);
at line 260.

Here's the horde logs:
Oct 08 10:26:42 HORDE [debug] [horde] SyncML: Existing session
continued: syncmlscpimblackberry12345678 [on line 53 of
"/usr/share/pear/SyncML/Command/SyncHdr.php"]
Oct 08 10:26:42 HORDE [debug] [horde] SyncML: Authorizing with user=,
cred data=<valid base64 encoding of username:password>, format=,
type=syncml:auth-basic [on line 264 of "/usr/share/pear/SyncML.php"]
Oct 08 10:26:42 HORDE [debug] [horde] SyncML: Invalid authorization! [on
line 277 of "/usr/share/pear/SyncML.php"]
Oct 08 10:26:42 HORDE [debug] [horde] SyncML: authorized= version=1
msgid=1 source=sc-pim-blackberry
target=http://www.reliableresponse.net/horde/rpc.php user= charset=UTF-8
wbxml= [on line 299 of "/usr/share/pear/SyncML.php"]
Oct 08 10:26:42 HORDE [debug] [horde] SyncML: SyncML: return message
completed [on line 383 of "/usr/share/pear/SyncML.php"]


I can see the user and format variables are empty, but the information
should be available in the credentials.  

Is there anything I can do to help?  I can try to take a ethernet
sniffer snapshot, but it's difficult since this is on a hosted server.

Thanks,
Dave

On Sat, 2006-10-07 at 15:56 +0200, Karsten Fourmont wrote:
> Hi,
> 
> it seems your using an outdated version of Horde/SyncML. Please give the
> current cvs version a try.
> 
> Any feedback on the blackberry is appreciated.
> 
> Cheers,
>   Karsten
> 
> David Rudder wrote:
> > I believe it's the 1st authentication call, like Chuck says.  That's my
> > login name to a shared pop/imap server.  A typical POP session is
> > USER drig at noses.org
> > PASS mypassword  (password changed to protect the innocent)
> > 
> > It's not treated as a domain within Horde.
> > 
> > I found a difference between sync4j/funambol and syncevolution.  It
> > turns out that my blackberry is giving the auth type of
> > "syncml:auth-basic" and syncevolution is using "b64".  I hardcoded the
> > type to "b64" in /usr/share/pear/SyncML.php (line 260-ish) and the
> > authentication worked!  But, I got "Synchronization failed: String index
> > out of range: -9" on my bb. 
> > 
> > So, I'm making a little progress....
> > 
> > -Dave
> > 
> > On Fri, 2006-09-29 at 12:00 -0700, sync-request at lists.horde.org wrote:
> > 
> > 
> >> Quoting Karsten Fourmont <fourmont at gmx.de>:
> >>
> >>> 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?
> >> The former - "noses.org" isn't the kind of realm being passed in the  
> >> 2nd version. It's possible that IMP auth or other hooks aren't being  
> >> used the way that drig at noses.org needs, though.
> >>
> >> -chuck
> >>
> >> -- 
> >> "we are plastered to the windshield of the bus that is time." - Chris
> >>
> > 
> > 
> 
> 



More information about the sync mailing list