[
https://issues.apache.org/jira/browse/HTTPCLIENT-934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864765#action_12864765
]
Oleg Kalnichevski commented on HTTPCLIENT-934:
----------------------------------------------
(1) Make sure you are using the latest code snapshot from SVN trunk
(2) When troubleshooting always run HttpClient with wire/context logging on as
described here [1]. Feel free to attach the log to this report
(3) Try running your application with Java 1.6 instead of Java 1.5. Kerberos
support in Java 1.5 is said to be very limited or broken.
(4) See HTTPCLIENT-901 [2]. As the _absolutely_ last resort try to get in touch
with Sebastiaan van Erk and _kindly_ ask him if he would be willing / able to
contribute his enhancements to HttpClient SPNEGO code
(5) You are out of luck and on your own. I have no clue about Kerberos and
cannot be of much help other than reviewing / committing patches.
Oleg
[1] http://hc.apache.org/httpcomponents-client/logging.html
[2] https://issues.apache.org/jira/browse/HTTPCLIENT-901
> kerberos auth not working
> -------------------------
>
> Key: HTTPCLIENT-934
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-934
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: Examples, HttpClient
> Affects Versions: 4.1 Alpha1
> Reporter: Dennis Rieks
> Priority: Minor
>
> Hi,
> i used org/apache/http/examples/client/ClientKerberosAuthentication.java to
> test kerberos authentication.
> My Setup:
> Apache2 on Debian (virtual machine "server4.kdctest.local") is setup to
> deliver kerberos authenticated content via http and https.
> The Kerberos kdc (virtual maschine "kdc.kdctest.local") also runs on debian.
> On my Desktop (ubuntu) i can use kinit/klist/kdestory to sign in on the
> kerberos domain and server4 only delivers content when signed on.
> I used firefox (with extra settings for http in about:config) and curl (curl
> -k --negotiate -u : http://server4.kdctest.local/test.php) to test my
> kerberos setup.
> The Problem:
> ClientKerberosAuthentication always asks the username/password and dont care
> about kinit. Also there is always an http 401 error and no content is
> deliverd.
> I used the latest svn version of httpclient
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]