Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Have you tried using this system property: -Djavax.security.auth.useSubjectCredsOnly=false ? Does it work if you specify the principal name explicitly in the configuration (principal="[email protected]")? Commented Oct 21, 2011 at 1:35
  • Thanks for your quick reply. I agree with you that I need to using the system property. But it failed with the same error. The principal option does not work as well. Commented Oct 21, 2011 at 2:35
  • If specifying the principal, the error will be "Unable to obtain password from user" Commented Oct 21, 2011 at 2:38
  • You might get more debugging information using these: -Dsun.security.krb5.debug=true -Dsun.security.jgss.debug=true Commented Oct 21, 2011 at 12:32
  • It reports the encryption type is not supported.(unsupported key type found the default TGT: 18) >>>DEBUG <CCacheInputStream> server principal is krbtgt/[email protected] >>>DEBUG <CCacheInputStream> key type: 18 >>>DEBUG <CCacheInputStream> auth time: Mon Oct 24 10:26:30 CST 2011 >>>DEBUG <CCacheInputStream> start time: Mon Oct 24 10:26:30 CST 2011 >>>DEBUG <CCacheInputStream> end time: Tue Oct 25 10:26:30 CST 2011 >>> CCacheInputStream: readFlags() FORWARDABLE; RENEWABLE; INITIAL; >>>DEBUG <CCacheInputStream> >>> unsupported key type found the default TGT: 18 Commented Oct 24, 2011 at 2:51