-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kerberos and IP address. #167
Comments
I think that the current behaviour is correct. It would be possible to support the previous behaviour at the cost of an extra DNS lookup, which I think used to happen in older httpclient libs. |
I haven't found any revers DNS lookup calls in apache http libraries, at least calls that use InetAddress. |
So is that overthere feature or not, should Kerberos works with IP or not? Maybe that is just Kerberos server realization issue? |
I tried above code and also with lot of other variations. I always get I see kerberos handshake and everthing worked fine i also was able to get tickets but not remote commands. Did anyone came across similar scenario |
Could you check that "allow unencrypted" is set to true? 500 error explanation you can find in winrm event log |
Thank You that was issue. Not sure how i missed. Even winrm trace logs didn't give me much information while debugging. |
Hello, I found a strange issue: it is possible to use IP address instead of FQDN with Kerberos authentication.
First I tried it with Overthere 2.4.5 and it worked.
Then I tried it with Overthere 4.0.1 and it failed with "Server not found in Kerberos database".
Overthere 2.4.5 has httpclient-4.2.1 in dependencies
Overthere 4.0.1 has httpclient-4.4.1 in dependencies.
I override httpclient dependency for Overthere 4.0.1 from 4.4.1 to 4.2.1 and it stared working.
Here is an example that use IP for ConnectionOptions.ADDRESS.
It works fine with Overthere 4.0.1 and httpclient-4.3.3 (or httpclient-4.2.1).
With Overthere 4.0.1 and httpclient-4.4.1 it fails with "Server not found in Kerberos database"
I know that Kerberos "works" only with FQDN and doesn't work with IP. But overthere works with IP in some cases.
So is this a feature, or just an issue.
The text was updated successfully, but these errors were encountered: