It works! Thanks a lot. :-)
On 9/18/07, Susam Pal <[EMAIL PROTECTED]> wrote: > Hi, > > I can see a bug in the NTLM authentication in 'protocol-httpclient' > plugin in this line. > > client.getState().setCredentials(new AuthScope(ntlmHost, > AuthScope.ANY_PORT), ntCreds); > > 'ntlmHost' or the client requesting for an authorized page is passed > as the first argument of AuthScope whereas it should be the server or > AuthScope.ANY_HOST (AuthScope.ANY_HOST is not recommended because this > use would be removed in future versions of HttpClient). So this may be > the cause of your error. Fixing this might solve the problem for Basic > authentication too. However, I am not sure as I haven't tried. > > I have written my own plugin, 'protocol-http11'. It works well for me. > This has support for HTTP 1.1, HTTP 1.0, HTTPS, NTLM, Basic and Digest > authentication, proxy server and proxy server authentication (NTLM, > Basic and Digest). I am providing a patch against revision 575912 of > trunk. Please let me know if this solves your problem. > > Regards, > Susam Pal > http://susam.in/ > > On 9/18/07, Aryan Sahoo <[EMAIL PROTECTED]> wrote: > > Hi Nutch user group, > > > > I installed Nutch from the trunk. I wanted NTLM authentication. I > > included protocol-httpclient in nutch-site.xml. Next I added the > > properties for username, password, domain, host. But it is not able to > > authenticate. I get this error... <any realm>@vista:80 > > > > I also tried Basic authentication as protocol-httpclient has some > > basic authentication code. That also fails. Could you please advise > > what I may be missing? If you need logs I'll send. > > > >
