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.

To download the current JDK release, click here.
7 b39Fixed
Related Reports
Relates :  
The new krb5 tests introduced by 6706974: Add krb5 test infrastructure fail on multiple platforms.

EVALUATION http://hg.openjdk.java.net/jdk7/jsn-gate/jdk/rev/0bf6c9c6fdc5

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", "", or even "localhost.localdomain". This can be fixed by first trying out the canonicalized form and use this form in the service principal name.