Server settings from /etc/krb5.conf used despite KRB5_CONFIG set

Andrej Mikus a-krb5user at mikus.sk
Mon May 16 02:05:11 EDT 2022


On Sat, 14.May.22 08:47:32 -0400, John Devitofranceschi wrote:
> 
> 
> > On May 9, 2022, at 3:03 PM, Andrej Mikus <a-krb5user at mikus.sk> wrote:
> > I am pointing KRB5_CONFIG to a file with correct KDC address/name, but
> > kinit always refers to the IP specified in /etc/krb5.conf.
> > 
> > It is my understanding that setting environment variable overrides any
> > use of files in /etc, also the test scripts in the code distribution
> > suggest this.
> 
> Is there an sssd_krb5_locator_plugin getting in the way?
> 
> Check under /usr/lib/krb5/plugins/libkrb5.

That was it. In a different place and with different filename
/usr/lib64/sssd/modules/sssd_krb5_localauth_plugin.so but setting
SSSD_KRB5_LOCATOR_DISABLE works!

Thanks a lot for the hint.

Andrej


More information about the Kerberos mailing list