krb5-auth-dialog does not expand default_ccache_name correctly
Hi,
When using version 3.12.0-2 on ubuntu 16.04, I noticed that krb5-auth-dialog does not expand the credential cache option correctly.
My credential cache is set as follows in /etc/krb5.conf:
[libdefault]
...
default_ccache_name = DIR:/home/%{username}/.k5/ccache
What I tried:
$ krb5-auth-dialog
# tells me the cache is empty, while it is actually populated
$ KRB5CCNAME="DIR:/home/%{username}/.k5/ccache" krb5-auth-dialog
# tells me the cache is empty, while it is actually populated
$ krb5-auth-dialog --auto
# segmentation fault (core dumped)
However, this works:
$ KRB5CCNAME="DIR:/home/$USER/.k5/ccache" krb5-auth-dialog
# tells me I have valid kerberos credentials
Best, Christophe-Marie
Edited by Christophe-Marie Duquesne