Zero-length entry in a keytab: why?!

Greg Hudson ghudson at MIT.EDU
Thu Sep 17 17:05:31 EDT 2009

On Thu, 2009-09-17 at 13:03 -0400, kerberos at wrote:
> Why might the entry length be zero?  And if the zero does indeed
> represent a hole in the keytab, how many bytes do I have to read to
> skip the hole and move to the next entry?

By my reading of the MIT krb5 code, you can treat a zero-value length
entry as the end of the keytab.  (I wasn't able to figure out any normal
sequence of events which would lead to such an entry in our code base,
but I didn't look too hard.)

More information about the Kerberos mailing list