[krbdev.mit.edu #9042] git commit

"Greg Hudson via RT" <[email protected]> Sat, 01 Jan 2022 20:54:06 -0500
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
Sat Jan 01 20:54:06 2022: Request 9042 was acted upon.
 Transaction: Ticket created by [email protected]
       Queue: krb5
     Subject: git commit
       Owner: [email protected]
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9042 >



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.

[[email protected]: edited commit message and comment; slightly adjusted
flow control]

https://github.com/krb5/krb5/commit/4b479814747b69ec386d0e092f71678e6e193a75
Author: Isaac Boukris <[email protected]>
Committer: Greg Hudson <[email protected]>
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(-)