Write a keytab?
Booker C. Bense
bbense at stanford.edu
Mon Apr 10 19:56:50 EDT 2006
On Apr 10, 2006, at 3:38 PM, Booker C. Bense wrote:
>
> 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 ?
For the curious and the archives, I solved the problem by using
a different enctype. I'm not sure why this fixed the problem, but
it did.
_ Booker C. Bense
More information about the Kerberos
mailing list