http://bugzilla.moblin.org/show_bug.cgi?id=2429
--- Comment #3 from ruskie <ruskie(a)codemages.net> 2010-01-18 03:58:25 PST ---
(In reply to comment #2)
> In my case it's reguralh http server with horde being http
authed and being the
> syncml server.
Do you know whether the Horde server still requires a valid username/password
at the SyncML level? Is it the same as the HTTP AUTH password?
It only requires the HTTP AUTH password. That's how it's configured. You can
configure it in so many different ways. But most usually use their own login
interface and the syncml layer requests the auth itself.
But with HTTP AUTH it only checks if you are authed and if you are it will
fulfill the request.
I am asking because the sync-UI would only be able to set one
username/password
pair, the one for SyncML. We could add separate http-username/passsword
properties and define them so that setting them is only necessary when they
differ from the normal SyncML credentials. If unset and the HTTP server ask for
authorization, the SyncML credentials could be used.
curl -k
https://my.domain.tld/rpc.php
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en">
<head>
<title>401 - Unauthorized</title>
</head>
<body>
<h1>401 - Unauthorized</h1>
</body>
</html>
curl --user 'username:password' -k
https://my.domain.tld/rpc.php
<?xml version="1.0"?><disco:discovery
xmlns:disco="http://schemas.xmlsoap.org/disco/"
xmlns:scl="http://schemas.xmlsoap.org/disco/scl/">
<scl:contractRef ref="https://my.domain.tld/rpc.php?wsdl" />
</disco:discovery>
Hope that helps.
--
Configure bugmail:
http://bugzilla.moblin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.