]> git.ipfire.org Git - thirdparty/krb5.git/commit
Add KRB5RCACHENAME and default_rcache_name 899/head
authorGreg Hudson <ghudson@mit.edu>
Fri, 17 May 2019 17:45:08 +0000 (13:45 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 31 May 2019 17:43:29 +0000 (13:43 -0400)
commit0e68760cb8dce4ea25fd73d6eab95bce103b6443
tree689361f0f2e4c553f7b6f3f2b163b24e9fa73495
parente8a35f6962ce2d048616fb7457bff2d90398ca48
Add KRB5RCACHENAME and default_rcache_name

In krb5_get_server_rcache(), stop constructing a residual value based
on piece and the euid, and instead resolve default replay cache
(previously an unused operation, as krb5_rc_default() was not part of
the API and was never used).

To determine the default replay cache name, try the KRB5RCACHENAME
environment variable first, and then try KRB5RCACHETYPE for
compatibility.  If neither of those environment variables are set, try
the default_rcache_name profile relation in [libdefaults] before
falling back to "dfl:".

ticket: 8786
doc/admin/conf_files/krb5_conf.rst
doc/basic/rcache_def.rst
doc/user/user_config/kerberos.rst
src/include/k5-int.h
src/include/krb5/krb5.hin
src/lib/krb5/krb/srv_rcache.c
src/lib/krb5/rcache/rc_base.c
src/man/kerberos.man
src/man/krb5.conf.man