Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6228529

JDK on Windows does not wait for preauthorizaion record from Kerberos and causes an error

XMLWordPrintable

    • beta
    • generic, x86
    • solaris_8, windows_2000

        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

              smalkanisunw Seema Malkani (Inactive)
              sdellafi Sandra Dellafiora (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: