[
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:
-----------------------------------------------
Øystein
I committed the following change set to the 4.2.x branch that should address
the immediate problem and fix the NPE.
http://svn.apache.org/viewvc?view=revision&revision=1406998
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.
Oleg
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: [email protected]
For additional commands, e-mail: [email protected]