You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Benjamin Pasero <bp...@rssowl.org> on 2005/04/21 08:49:01 UTC

Proxy with NTLM Auth not working

Hi,

a user is running my application with HttpClient 3.0 and not able to
authenticate on his NTLM Proxyserver.

I wonder if this is not yet supported by HttpClient 3.0?

Anyways, I once read that it is possible to define the order in which
the Authentication-Schemes are used
on a Server.

That NTLM Proxy is also supportin BASIC Authentication. So I would like
BASIC to be used whenever possible.

How to do so?

Thanks,
Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Re: Proxy with NTLM Auth not working

Posted by Benjamin Pasero <bp...@rssowl.org>.
Yes, the debug.log file was created using HttpClient 3.0 RC1. After 3.0 RC2
was released I created a new release using it and asked the user to have a
try. He told me that he still got the same problems.

I am going to ask him to send me the log-output coming from 3.0 RC2.

Ben

>Benjamin,
>
>What release of HttpClient 3.0 is used in your application? I think the
>release you are using does not include this fix
>
>http://issues.apache.org/bugzilla/show_bug.cgi?id=34255
>
>Upgrading to HttpClient 3.0RC2 or the latest nightly _should_ make the
>problem go away
>
>Oleg
>
>
>On Thu, 2005-04-21 at 21:42 +0100, Benjamin Pasero wrote:
>  
>
>>Find the Debug/Trace log attached.
>>
>>Regards,
>>Ben
>>
>>    
>>
>>>Benjamin,
>>>
>>>NTLM proxies (at the very least the MS proxy server) are supported and are
>>>known to work well with HttpClient 2.0.x and HttpClient 3.0
>>>
>>>
>>>On Thu, Apr 21, 2005 at 07:49:01AM +0100, Benjamin Pasero wrote:
>>> 
>>>
>>>      
>>>
>>>>Hi,
>>>>
>>>>a user is running my application with HttpClient 3.0 and not able to
>>>>authenticate on his NTLM Proxyserver.
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>If you send me a wire log, I'll take a look at it this weekend
>>>
>>> 
>>>
>>>      
>>>
>>>>I wonder if this is not yet supported by HttpClient 3.0?
>>>>
>>>>Anyways, I once read that it is possible to define the order in which
>>>>the Authentication-Schemes are used
>>>>on a Server.
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>You could also instruct HttpClient to pick the BASIC authentication scheme
>>>over the NTLM on the client side
>>>
>>> 
>>>
>>>      
>>>
>>>>That NTLM Proxy is also supportin BASIC Authentication. So I would like
>>>>BASIC to be used whenever possible.
>>>>
>>>>How to do so?
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>Take a look at the HttpClient authentication guide 
>>>http://jakarta.apache.org/commons/httpclient/3.0/authentication.html#Alternate%20authentication
>>>
>>>Oleg
>>>
>>>
>>> 
>>>
>>>      
>>>
>>>>Thanks,
>>>>Ben
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>>>
>>>
>>> 
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>>    
>>
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Re: Proxy with NTLM Auth not working

Posted by Oleg Kalnichevski <ol...@apache.org>.
Benjamin,

What release of HttpClient 3.0 is used in your application? I think the
release you are using does not include this fix

http://issues.apache.org/bugzilla/show_bug.cgi?id=34255

Upgrading to HttpClient 3.0RC2 or the latest nightly _should_ make the
problem go away

Oleg


On Thu, 2005-04-21 at 21:42 +0100, Benjamin Pasero wrote:
> Find the Debug/Trace log attached.
> 
> Regards,
> Ben
> 
> >Benjamin,
> >
> >NTLM proxies (at the very least the MS proxy server) are supported and are
> >known to work well with HttpClient 2.0.x and HttpClient 3.0
> >
> >
> >On Thu, Apr 21, 2005 at 07:49:01AM +0100, Benjamin Pasero wrote:
> >  
> >
> >>Hi,
> >>
> >>a user is running my application with HttpClient 3.0 and not able to
> >>authenticate on his NTLM Proxyserver.
> >>
> >>    
> >>
> >
> >If you send me a wire log, I'll take a look at it this weekend
> >
> >  
> >
> >>I wonder if this is not yet supported by HttpClient 3.0?
> >>
> >>Anyways, I once read that it is possible to define the order in which
> >>the Authentication-Schemes are used
> >>on a Server.
> >>
> >>    
> >>
> >
> >You could also instruct HttpClient to pick the BASIC authentication scheme
> >over the NTLM on the client side
> >
> >  
> >
> >>That NTLM Proxy is also supportin BASIC Authentication. So I would like
> >>BASIC to be used whenever possible.
> >>
> >>How to do so?
> >>
> >>    
> >>
> >
> >Take a look at the HttpClient authentication guide 
> >http://jakarta.apache.org/commons/httpclient/3.0/authentication.html#Alternate%20authentication
> >
> >Oleg
> >
> >
> >  
> >
> >>Thanks,
> >>Ben
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> >>
> >>    
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> >
> >
> >  
> >
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Re: Proxy with NTLM Auth not working

Posted by Michael Becke <mb...@gmail.com>.
Hi Ben, 

I think upgrading to HttpClient 3.0rc2 should take care of the
problem.  These was an issue with NTLM+preemptive authentication.
<http://issues.eu.apache.org/bugzilla/show_bug.cgi?id=34255>

Mike

On 4/21/05, Benjamin Pasero <bp...@rssowl.org> wrote:
> 
> Find the Debug/Trace log attached.
> 
> Regards,
> Ben
> 
> >Benjamin,
> >
> >NTLM proxies (at the very least the MS proxy server) are supported and are
> >known to work well with HttpClient 2.0.x and HttpClient 3.0
> >
> >
> >On Thu, Apr 21, 2005 at 07:49:01AM +0100, Benjamin Pasero wrote:
> >
> >
> >>Hi,
> >>
> >>a user is running my application with HttpClient 3.0 and not able to
> >>authenticate on his NTLM Proxyserver.
> >>
> >>
> >>
> >
> >If you send me a wire log, I'll take a look at it this weekend
> >
> >
> >
> >>I wonder if this is not yet supported by HttpClient 3.0?
> >>
> >>Anyways, I once read that it is possible to define the order in which
> >>the Authentication-Schemes are used
> >>on a Server.
> >>
> >>
> >>
> >
> >You could also instruct HttpClient to pick the BASIC authentication scheme
> >over the NTLM on the client side
> >
> >
> >
> >>That NTLM Proxy is also supportin BASIC Authentication. So I would like
> >>BASIC to be used whenever possible.
> >>
> >>How to do so?
> >>
> >>
> >>
> >
> >Take a look at the HttpClient authentication guide
> >http://jakarta.apache.org/commons/httpclient/3.0/authentication.html#Alternate%20authentication
> >
> >Oleg
> >
> >
> >
> >
> >>Thanks,
> >>Ben
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> >
> >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> 
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Re: Proxy with NTLM Auth not working

Posted by Benjamin Pasero <bp...@rssowl.org>.
Find the Debug/Trace log attached.

Regards,
Ben

>Benjamin,
>
>NTLM proxies (at the very least the MS proxy server) are supported and are
>known to work well with HttpClient 2.0.x and HttpClient 3.0
>
>
>On Thu, Apr 21, 2005 at 07:49:01AM +0100, Benjamin Pasero wrote:
>  
>
>>Hi,
>>
>>a user is running my application with HttpClient 3.0 and not able to
>>authenticate on his NTLM Proxyserver.
>>
>>    
>>
>
>If you send me a wire log, I'll take a look at it this weekend
>
>  
>
>>I wonder if this is not yet supported by HttpClient 3.0?
>>
>>Anyways, I once read that it is possible to define the order in which
>>the Authentication-Schemes are used
>>on a Server.
>>
>>    
>>
>
>You could also instruct HttpClient to pick the BASIC authentication scheme
>over the NTLM on the client side
>
>  
>
>>That NTLM Proxy is also supportin BASIC Authentication. So I would like
>>BASIC to be used whenever possible.
>>
>>How to do so?
>>
>>    
>>
>
>Take a look at the HttpClient authentication guide 
>http://jakarta.apache.org/commons/httpclient/3.0/authentication.html#Alternate%20authentication
>
>Oleg
>
>
>  
>
>>Thanks,
>>Ben
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>
>  
>

Re: Proxy with NTLM Auth not working

Posted by Oleg Kalnichevski <ol...@apache.org>.
Benjamin,

NTLM proxies (at the very least the MS proxy server) are supported and are
known to work well with HttpClient 2.0.x and HttpClient 3.0


On Thu, Apr 21, 2005 at 07:49:01AM +0100, Benjamin Pasero wrote:
> Hi,
> 
> a user is running my application with HttpClient 3.0 and not able to
> authenticate on his NTLM Proxyserver.
> 

If you send me a wire log, I'll take a look at it this weekend

> I wonder if this is not yet supported by HttpClient 3.0?
> 
> Anyways, I once read that it is possible to define the order in which
> the Authentication-Schemes are used
> on a Server.
> 

You could also instruct HttpClient to pick the BASIC authentication scheme
over the NTLM on the client side

> That NTLM Proxy is also supportin BASIC Authentication. So I would like
> BASIC to be used whenever possible.
> 
> How to do so?
> 

Take a look at the HttpClient authentication guide 
http://jakarta.apache.org/commons/httpclient/3.0/authentication.html#Alternate%20authentication

Oleg


> Thanks,
> Ben
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org