[krbdev.mit.edu #9042] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Sat Jan 1 20:54:06 EST 2022


Sat Jan 01 20:54:06 2022: Request 9042 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  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.

[ghudson at mit.edu: edited commit message and comment; slightly adjusted
flow control]

https://github.com/krb5/krb5/commit/4b479814747b69ec386d0e092f71678e6e193a75
Author: Isaac Boukris <iboukris at gmail.com>
Committer: Greg Hudson <ghudson at mit.edu>
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(-)



More information about the krb5-bugs mailing list