[Mono-list] Accessing .Net WebServices hiding behind NTLM
authentication?
Gonzalo Paniagua Javier
gonzalo at ximian.com
Sat May 28 01:44:00 EDT 2005
On Fri, 2005-05-27 at 22:57 +0100, Magnus Therning wrote:
> My first post to this list. :-)
>
> My setup:
>
> Linux machine with mono 1.0 where I run my client.
>
> Windows machine with a web service running on .Net. Accessing the web
> service requires NTLM authentication (HTTP way).
>
> I've managed to find a proxy that can handle the NTLM authentication for
> HTTP, but I can't get mono to use it as a proxy (adding
> proxyaddress="localhost:5865" and bypassonlocalhost="false" doesn't
> work). I know the proxy works (verified with wget downloading the WSDL
> for the service :-).
>
> I've written a few test clients for other web services, that aren't
> hidden behind NTLM, so I'm confident my code is OK.
>
> My questions:
>
> Is proxy support proper in mono 1.0 or do I have to leave the Ubuntu
> packages of mono 1.0 and install mono 1.1?
Proxy support works fine on mono 1.1.x for sure. And i think that code
has not been touched much after branching 1.0.
>
> Is there some other (better?) way of handling the silly NTLM
> authentication? (Turning it off is not an option, unfortunately!)
We support NTLM authentication in HttpWebRequest. You should not need to
use that proxy.
-Gonzalo
More information about the Mono-list
mailing list