Don't fail krb5_cc_select() for no default realm If the target server principal is a host-based service without multiple dotted components and no default realm is configured, krb5_cc_select() can fail, and therefore gss_init_sec_context(). Continue without filling in the realm in this case. [ghudson@mit.edu: edited commit message and comment; slightly adjusted flow control] https://github.com/krb5/krb5/commit/4b479814747b69ec386d0e092f71678e6e193a75 Author: Isaac Boukris Committer: Greg Hudson Commit: 4b479814747b69ec386d0e092f71678e6e193a75 Branch: master src/lib/krb5/ccache/ccselect.c | 23 ++++++++++++----------- src/tests/gssapi/t_gssapi.py | 9 +++++++++ 2 files changed, 21 insertions(+), 11 deletions(-)