[sync] Sync4j and Horde

Chuck Hagenbuch chuck at horde.org
Wed Oct 20 18:56:20 PDT 2004


Quoting Karsten Fourmont <fourmont at gmx.de>:

> 1) currently Horde SyncML doesn't do "auth-clear" authentification.
> This should be easy to fix:
>
> replace line 250 of framework/SyncML/SyncML.php
>
> $this->_credData = base64_decode($this->_credData);
>
> with s.th. like the following:
>
> if ($this->_credType == 'syncml:auth-basic') {
>     $this->_credData = base64_decode($this->_credData);
> }

and ...

> My guess is that insertion of
>
>          $uri = $state->getURI();
>
> before line 426 of framework/SyncML/SyncML.php (right before the
> startElement() call) should help here.
>
> As usual, after you made the changes to framework files, you have to do
> install-framework.php to push them into the final pear-places.

Oliver, if either of these work or improve things, let me know, and if 
Karsten's
away, I can get them incorporated into CVS.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the sync mailing list