[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ktutil changes hostname



Andrew Bacchi <bacchi@rpi.edu> writes:

> I extracted a host principal to the keytab and did a ktutil list.  The
> list from /etc/srvtab is a bit different, as you can see it removed part
> of the hostname.  I've reproduced this a number of times.  Anyone have
> an idea why?  Thanks.

The names you get when you list a srvtab are fake, in the sense that
they are only stored (as per v4 standard) with first host name
component. The domain suffix is added by the krb5 glue. I guess the
problem is that krb5-2 in some way resolves to the shorter name.

I don't think it matters.

/Johan