Write a keytab?

Booker C. Bense bbense at stanford.edu
Mon Apr 10 18:38:58 EDT 2006


I'm pulling my hair out over this. Is there any kerberos utility
that will write a valid k5 keytab given either a password or
a key, enctype and principal?

Neither heimdal's ktutil add or MIT's ktutil addent seem to
write valid keytab files. If you use the list option you
seem to get valid results, but attempting to use the keytab
to either kinit or use Hiemdal's ktutil change options results
in errors that look like parsing ones.

Ktutil and kinit from Heimdal claim they can't find the host
entry in the keytab and MIT's kinit claims that it can't contact
the KDC listed for the principal.

Alternatively, is there a documented format for the keytab file
anywere? Other than the source code in kt_file.c ?

_ Booker C. Bense 



More information about the Kerberos mailing list