On Thu, 2011-04-21 at 17:12 +0000, Ron Jacobs wrote: > (I apologize for the delay in posting this update. It was delayed due to > matters outside of my control. Nonetheless, I am sure that anyone > struggling to gain NTLMv2 support with version 4.1.x will be helped by > taking a look at the following:) > > ------------------------------------------------------------------------ > > I have tried JCIFS and was able to get all of my test cases to pass. > > But, it doesn't support NTLMv2 "out of the box" because its > NegotiateFlags (see section 2.2.2.5 of the Microsoft's [MS-NLMP] spec) > is insufficient. > > My implementation is based upon the example that used to be found at: > > http://hc.apache.org/httpcomponents-client/ntlm.html > > I was able to locate the info on the way-back machine at: > > > http://replay.waybackmachine.org/20090611051135/http://hc.apache.org/httpcomponents-client/ntlm.html > > Since the built-in NTLM implementation is insufficient, the maintainers > may wish to restore this page, with the slight adjustment that I found > necessary, or with the following code, which I have verified works with > both NTLMv1 and NTLMv2 authentication: >
Hi Ron Many thanks for sharing this information with us. I am going to restore the document and with your permission update it with the details and code snippets that you posted in your previous message. Cheers Oleg PS: Would you be by any change willing to take a look at the default NTLM engine distributed with HttpClient and see what may be wrong there? It'd be a great contribution to all users of HttpClient. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
