You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by "Sareesh K. Nair" <sa...@gmail.com> on 2009/06/09 09:55:11 UTC

NTLM authentication

Hi,

I have configured nutch to use the NTLM authentication in intranet and it is
working properly in one network. But when i made the same settings for
another network, the requests are not getting authenticated. I am getting a
'authentication failed' error, even after supplying correct credentials. I
have attached the log and configuration files herewith (using Nutch 1.0).
Can someone help me out to find the issue? Does it have anything to do with
the NTLM version?

Any help would be highly appreciated.

Thanks,
Sareesh.

Re: NTLM authentication

Posted by Susam Pal <su...@gmail.com>.
On Wed, Jun 10, 2009 at 1:15 AM, Sareesh K. Nair<sa...@gmail.com> wrote:
> Susam,
>
> I had tried without the proxy settings as well. But, I was continuously
> getting the 'Failed authentication' message. Is there anything to do with
> the network settings? or NTLM version?
>

It is quite possible that it has to do something with the NTLM
version. However, I don't have any experience with errors of this
kind. So, I can't really tell. This section might be of some help to
you: http://hc.apache.org/httpclient-3.x/authentication.html#Known_limitations_and_problems

Regards,
Susam Pal

Re: NTLM authentication

Posted by "Sareesh K. Nair" <sa...@gmail.com>.
Susam,

I had tried without the proxy settings as well. But, I was continuously
getting the 'Failed authentication' message. Is there anything to do with
the network settings? or NTLM version?

Thanks,
Sareesh
On Tue, Jun 9, 2009 at 10:13 AM, Susam Pal <su...@gmail.com> wrote:

>  On Tue, Jun 9, 2009 at 1:25 PM, Sareesh K. Nair<sa...@gmail.com>
> wrote:
> > Hi,
> >
> > I have configured nutch to use the NTLM authentication in intranet and it
> is
> > working properly in one network. But when i made the same settings for
> > another network, the requests are not getting authenticated. I am getting
> a
> > 'authentication failed' error, even after supplying correct credentials.
> I
> > have attached the log and configuration files herewith (using Nutch 1.0).
> > Can someone help me out to find the issue? Does it have anything to do
> with
> > the NTLM version?
> >
> > Any help would be highly appreciated.
> >
> > Thanks,
> > Sareesh.
> >
>
> You have NTLM authentication enabled for proxy server as well as web
> servers. This could be the issue. Nutch uses Jakarta Commons
> HttpClient. Please visit this link
> http://hc.apache.org/httpclient-3.x/authentication.html#NTLM
>
> In the 3rd point of the NTLM section, you will find that it mentions
> that NTLM can not be used to authenticate with both a proxy and the
> server.
>
> Regards,
> Susam Pal
>

Re: NTLM authentication

Posted by Susam Pal <su...@gmail.com>.
On Tue, Jun 9, 2009 at 1:25 PM, Sareesh K. Nair<sa...@gmail.com> wrote:
> Hi,
>
> I have configured nutch to use the NTLM authentication in intranet and it is
> working properly in one network. But when i made the same settings for
> another network, the requests are not getting authenticated. I am getting a
> 'authentication failed' error, even after supplying correct credentials. I
> have attached the log and configuration files herewith (using Nutch 1.0).
> Can someone help me out to find the issue? Does it have anything to do with
> the NTLM version?
>
> Any help would be highly appreciated.
>
> Thanks,
> Sareesh.
>

You have NTLM authentication enabled for proxy server as well as web
servers. This could be the issue. Nutch uses Jakarta Commons
HttpClient. Please visit this link
http://hc.apache.org/httpclient-3.x/authentication.html#NTLM

In the 3rd point of the NTLM section, you will find that it mentions
that NTLM can not be used to authenticate with both a proxy and the
server.

Regards,
Susam Pal