相关文章推荐

I'm trying to enable Kerberos for my SDC RPM installation, but when I start the SDC I get following exception:

java.lang.RuntimeException: Could not get Kerberos credentials: javax.security.auth.login.LoginEx Caused by: javax.security.auth.login.LoginException: Unable to obtain password from user at com.sun.security.auth.module.Krb5LoginModule.promptForPass(Krb5LoginModule.java:897) at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:760) at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:617) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)

How do I move forward?

Page 1 / 1

The issue might be the headless keytab file. Try the following:

Create two principals on your Kerberos host:

  • Headless principle [email protected]
  • Service principle sdc/[email protected]
  • Create keytab file just for the service principle and change its owner to sdc user with chown
  • Deploy keytab on SDC host under /etc/security/keytabs/
  • Stop SDC and configure the Kerberos properties in $SDC_CONF/sdc.properties as follows :
kerberos.client.enabled=true
kerberos.client.principal=sdc/[email protected]
kerberos.client.keytab=/etc/security/keytabs/myService.keytab
  • Start SDC

Scanning file for viruses.

Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.

This file cannot be downloaded

Sorry, our virus scanner detected that this file isn't safe to download.

 
推荐文章