Skip Menu |

Subject: git commit

Use fallback realm for GSSAPI ccache selection

In krb5_cc_select(), if the server principal has an empty realm, use
krb5_get_fallback_host_realm() and set the server realm to the first
fallback found. This helps with the selection of a non-default ccache
when there is no [domain_realms] configuration for the server domain.
Modify tests to account for fallback behavior.
Author: Matt Rogers <>
Committer: Greg Hudson <>
Commit: 234b64bd6139d5b75dadd5abbd5bef5a162e298a
Branch: master
src/lib/krb5/ccache/ccselect.c | 37 ++++++++++++++++++++++++----
src/tests/gssapi/ | 52 +++++++++++++++++++++++++++++++--------
2 files changed, 73 insertions(+), 16 deletions(-)