FULL PRODUCT VERSION :
java version " 1.7.0_21 "
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
I also tried 1.60_37.
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
EXTRA RELEVANT SYSTEM CONFIGURATION :
Active directory forest that I am trying to authenticate against using kerberos
A DESCRIPTION OF THE PROBLEM :
I found this bug in the bug_db.
http://bugs.sun.com/view_bug.do?bug_id=7019384
The capaths section in the krb,conf file is still parsed incorrectly.
This is my cpatahs section:
[capaths]
QA.DOM = {
D100.D1.W2K8.CORP.ME = D1.W2K8.CORP.ME
QA100.QA.DOM = .
G1.D100.D1.W2K8.CORP.ME = D1.W2K8.CORP.ME
G1.D100.D1.W2K8.CORP.ME = D100.D1.W2K8.CORP.ME
D1.W2K8.CORP.ME = .
D201.D200.D1.W2K8.CORP.ME = D1.W2K8.CORP.ME
D201.D200.D1.W2K8.CORP.ME = D200.D1.W2K8.CORP.ME
D200.D1.W2K8.CORP.ME = D1.W2K8.CORP.ME
}
output in 1_6_37: (The order is incorrect.)
>>> Realm parseCapaths [0]=QA.DOM
>>> Realm parseCapaths [1]=D100.D1.W2K8.CORP.ME
>>> Realm parseCapaths [2]=D1.W2K8.CORP.ME
output in (build 1.7.0_21-b11): (intermidiate realm is missing).
>>> Realm parseCapaths [0]=QA.DOM
>>> Realm parseCapaths [1]=D1.W2K8.CORP.ME
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
parse the following capaths:
[capaths]
QA.DOM = {
D100.D1.W2K8.CORP.ME = D1.W2K8.CORP.ME
QA100.QA.DOM = .
G1.D100.D1.W2K8.CORP.ME = D1.W2K8.CORP.ME
G1.D100.D1.W2K8.CORP.ME = D100.D1.W2K8.CORP.ME
D1.W2K8.CORP.ME = .
D201.D200.D1.W2K8.CORP.ME = D1.W2K8.CORP.ME
D201.D200.D1.W2K8.CORP.ME = D200.D1.W2K8.CORP.ME
D200.D1.W2K8.CORP.ME = D1.W2K8.CORP.ME
}
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
>>> Realm parseCapaths [0]=QA.DOM
>>> Realm parseCapaths [2]=D1.W2K8.CORP.ME
>>> Realm parseCapaths [1]=D100.D1.W2K8.CORP.ME
ACTUAL -
>>> Realm parseCapaths [0]=QA.DOM
>>> Realm parseCapaths [1]=D1.W2K8.CORP.ME
REPRODUCIBILITY :
This bug can be reproduced always.