ERROR:- failed to store credentials: credentials cache permissions incorrect(krb5cc_cldr)

  • 25 May 2022
  • 0 replies
  • 290 views

ENV:-

  • SDC is integrated with CDH/CDP.
  • Kerberos is enabled.
  • start event script/end event scripts are being used to get the kerberos credentials.

ISSUE:-

  • start event script/end event scripts try to kinit and end up with following error message:-
ERROR stderr: kinit: Pre-authentication failed: Permission denied while getting initial credentials

 

Resolution:-

  • By default CDH/CDP enabled clusters has set environment variable KRB5CCNAME 
  • add following line to at the beginning of the script to unset the variable temporarily
unset KRB5CCNAME

0 replies

Be the first to reply!

Reply