hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: NTLMv2 against sharepoint
Date Wed, 20 Jul 2011 14:07:53 GMT
On Wed, 2011-07-20 at 15:32 +0200, Stefan Huggenberger wrote:
> Thanks Sam for the hints. It has to fail on the java side. A perl ntmlv2 
> login works fine?!
> 
> Thanks,
> Stefan
> 

The NTLM engine implementation used by HttpClient 4.1 is known to have
flaws. You may have better luck with JCIFS engine. For details see:

http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/src/site/apt/ntlm.apt

Oleg



> Am 20.07.2011 14:14, schrieb Sam Crawford:
> > The "not working" server appears to be on IIS 6 and it looks like it
> > has the Basic Authentication option checked in the Virtual Server /
> > Directory window. Perhaps try unchecking that to make it more
> > consistent with the IIS 7 server?
> >
> > That said, it looks to me like HttpClient is handling it correctly
> > anyway (it's responding with NTLM auth).
> >
> > Perhaps it'd be wise to compare the settings screens of the two
> > servers side-by-side to check for any obvious differences. Also, what
> > does the Windows Event/Security log show on the "not working" server?
> >
> > Thanks,
> >
> > Sam
> >
> >
> >
> > On 20 July 2011 13:02, Stefan Huggenberger<huggi@huggi.ch>  wrote:
> >> hello httpclient users
> >> I have a problem with the NTLM login against a sharepoint server. We have
> >> different servers. On one server, the login works fine, on the others it
> >> didn't work.
> >>
> >> I append the relevant part of the source code, the "not working log" and the
> >> "working log" as well.
> >>
> >> In the http Header is also written: WWW-Authenticate: Basic
> >> realm="workspace-t.domain.com"
> >> This is the only different I could recognized.
> >>
> >> I am very grateful for any information.
> >> Stefan
> >>
> >>


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


Mime
View raw message