JDK on Windows 2003 passes value to Kerberos and does not wait for Kerberos to return a "salt" value. As a result, the following error is generated:
KrbException: Pre-authentication information was invalid (24)
at sun.security.krb5.KrbAsRep.<init>(DashoA6275:62)
at sun.security.krb5.KrbAsReq.getReply(DashoA6275:308)
at sun.security.krb5.KrbAsReq.getReply(DashoA6275:271)
at sun.security.krb5.internal.tools.Kinit.<init>(DashoA6275:264)
at sun.security.krb5.internal.tools.Kinit.main(DashoA6275:104)
Caused by: KrbException: Identifier doesn't match expected value (906)
at sun.security.krb5.internal.af.a(DashoA6275:129)
at sun.security.krb5.internal.au.a(DashoA6275:58)
at sun.security.krb5.internal.au.<init>(DashoA6275:53)
at sun.security.krb5.KrbAsRep.<init>(DashoA6275:48)
... 4 more
This is because Windows is a case insensitive platform. This does not happen on Solaris. There are two defects "around" this issue, which basically have been "documented out" in J2SE 1.5x (4946917, 4963731). The customer sees this with the kinit example and with their own code.
###@###.### 2005-2-11 23:07:53 GMT