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

Can't create un principal with ktutil

Explorer

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
Highlighted

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.

View solution in original post

2 REPLIES 2
Highlighted

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.

View solution in original post

Highlighted

Re: Can't create un principal with ktutil

Explorer

OK thanks for your explanation.

Don't have an account?
Coming from Hortonworks? Activate your account here