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

Kerberos login to Windows 2000 failed with "Inappropriate type of checksum in message"

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b25
    • Introduced In Version:
      13
    • Resolved In Build:
      b28
    • Verification:
      Verified

      Backports

        Description

        When authenticate into a Windows 2000 server using a DES encrytion type, the below error is observed,
        KrbException: Inappropriate type of checksum in message (50)
        at java.security.jgss/sun.security.krb5.Checksum.verifyKeyedChecksum(Checksum.java:192)
        at java.security.jgss/sun.security.krb5.KrbKdcRep.check(KrbKdcRep.java:162)
        at java.security.jgss/sun.security.krb5.KrbAsRep.decrypt(KrbAsRep.java:158)
        at java.security.jgss/sun.security.krb5.KrbAsRep.decryptUsingPassword(KrbAsRep.java:139)
        at java.security.jgss/sun.security.krb5.KrbAsReqBuilder.resolve(KrbAsReqBuilder.java:308)
        at java.security.jgss/sun.security.krb5.KrbAsReqBuilder.action(KrbAsReqBuilder.java:443)
        at jdk.security.auth/com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:743)
        at jdk.security.auth/com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:592)
        at java.base/javax.security.auth.login.LoginContext.invoke(LoginContext.java:726)
        at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:665)
        at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:663)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:690)
        at java.base/javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:663)
        at java.base/javax.security.auth.login.LoginContext.login(LoginContext.java:574)
                ...

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                weijun Weijun Wang
                Reporter:
                jjiang John Jiang
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: