Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Can't create un principal with ktutil

Solved Go to solution
Highlighted

Can't create un principal with ktutil

New Contributor

Hi All,

I have problem with kerberbos util command (ktutil), on client machine i created a new principal with add_entry and it's work fine but when i try to init ticket with kinit it's failed with message : "principal don't existe on kerberos database".

when i create principal with kadmin.local on krb-server and try to init ticket on client it's work.

any suggestion pleasee ??

Thanks for your help.

Best Regards suggestion

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Can't create un principal with ktutil

@badr bakkou

the ktutil utility is used to create keytab files only. It cannot create new principals in the KDC. If you want to add new principals to the KDC, you need to use kadmin or kdamin.local. Both of which can be used to create keytab files as well.

2 REPLIES 2

Re: Can't create un principal with ktutil

@badr bakkou

the ktutil utility is used to create keytab files only. It cannot create new principals in the KDC. If you want to add new principals to the KDC, you need to use kadmin or kdamin.local. Both of which can be used to create keytab files as well.

Re: Can't create un principal with ktutil

New Contributor

OK thanks for your explanation.