• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Difference in Kerberos between J2SE1.4.2_05 and J2SE1.5.0_04???

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm trying to migrate from J2SE 1.4.2_05 to J2SE 1.5.0_04.

My problem is with SSO to an Active Directory server.

The following code runs perfectly if I am using the J2SE 1.4.2_05, but does only throw KrbException with message: KDC has no support for encryption type (14) if I run it with J2SE 1.5.0_04!




Debug & Stack Trace

I have tried the following hotfix on Windows Server 2003: Windows Server 2003 - Active Directory Hotfix without success.

I have tried to specify default_tgs_enctypes, default_tkt_enctypes and permitted_enctypes in the krb5.conf to: des-cbc-crc des-cbc-md5 with and without the "salt"... no success.

By the error message it seems that the KDC uses encryption type 14 (rsaES-OAEP-ENV-OID) which Java cannot handle and therefor gets the EType (int) 0 (sun.security.krb5.internal.crypto.NullEType).

I have also marked the "Use DES encryptation only" the option in Active Directory on my user 'anderk'.... no success.

Still, it seems very odd that if I use J2SE 1.4.2_05 it works and with J2SE 1.5.0_04 is doesn't!!!

Please give me some advice!

Regards, Andreas Eriksson
[ August 31, 2005: Message edited by: Andreas Eriksson ]
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic