Support Questions

Find answers, ask questions, and share your expertise

Can't create un principal with ktutil

avatar
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

avatar

@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

avatar

@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.

avatar
Explorer

OK thanks for your explanation.