JDK-6761072 : new krb5 tests fail on multiple platforms
Type:Bug
Component:security-libs
Sub-Component:org.ietf.jgss:krb5
Affected Version:7
Priority:P4
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2008-10-19
Updated:2011-08-15
Resolved:2011-03-07
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
EVALUATION
There are 2 reasons found:
1. If the system has no krb5.conf file, tests fail. This can be fixed by always accessing krb5.conf related methods after a krb5.conf is created.
2. Due to different DNS configurations, "localhost" may be canonicalized to "localhost", "127.0.0.1", or even "localhost.localdomain". This can be fixed by first trying out the canonicalized form and use this form in the service principal name.