2020-06-29 20:11:36

by Doug Nazar

[permalink] [raw]
Subject: gssd keytab resolution

While playing around I noticed this pattern occasionally.

I was wondering if 'srchost=*' should be treated as NULL (use
gethostname) or to just skip the loop where we call krb5_kt_get_entry()
since that won't match with an asterisk.

Thanks,
Doug


Attachments:
log.txt (1.89 kB)

2020-07-01 21:59:06

by Doug Nazar

[permalink] [raw]
Subject: Re: gssd keytab resolution

On 2020-06-29 10:57, Doug Nazar wrote:
> While playing around I noticed this pattern occasionally.
>
> I was wondering if 'srchost=*' should be treated as NULL (use
> gethostname) or to just skip the loop where we call
> krb5_kt_get_entry() since that won't match with an asterisk.

Nope, looks like this was me. During a rebase I managed to get
gssd_proc.c compiled with the old version of krb5_util.h and gentoo
disables dependency tracking by default.

Seems to have gone away now after a make clean, was able to reproduce it
for hours... sigh.

So, that patch can be dropped.

Doug