krb5-1.12.1 and client keytab file

Michael-O 1983-01-06 at
Thu May 29 16:55:38 EDT 2014

Am 2014-05-29 20:38, schrieb Brandon Allbery:
> On Thu, 2014-05-29 at 13:35 -0400, squidmobile at wrote:
>>    KRB5_CLIENT_KTNAME=./some.key.file kinit
>> at this point, kinit did what it wanted and not what i expected.
> I am not sure kinit will automatically use the keytab just because the
> environment variable is there. I would expect the envar sets a default
> for the -t (or possibly -i, in which case you need to specify that)
> option, and you still need to specify -k for it to use a keytab at all.

kinit won't, because kinit has a different approach to the one the 
GSS-API and the Krb 5 backend has.


More information about the Kerberos mailing list