hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1258) NTLM authentication fails for local accounts
Date Thu, 08 Nov 2012 10:33:14 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493093#comment-13493093

Oleg Kalnichevski commented on HTTPCLIENT-1258:


I committed the following change set to the 4.2.x branch that should address the immediate
problem and fix the NPE. 


However, it looks like the default NTLMEngine implementation expects both the hostname and
the domain to be non-null. When using a local account try using the name of the host as both
hostname and domain and let me know if that fixes the problem.


PS: I wish we could simply bundle JCIFS with HttpClient and throw away our own implementation.
> NTLM authentication fails for local accounts
> --------------------------------------------
>                 Key: HTTPCLIENT-1258
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1258
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpAuth
>    Affects Versions: 4.2.1
>            Reporter: Øystein Grimstad
> Authenticating to a windows PC using a local account (administrator) fails. In this case,
the domain property should be NULL.
> Setting domain=null fails with a nullpointerexception
> Setting domain="" fails with a wrong username/password
> JCIFS does not have this issue and can be used as a workaround

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

View raw message