From: | ghudson@mit.edu |
Subject: | git commit |
Fix KRB5_GC_CACHED for S4U2Self requests
In krb5_get_credentials_for_user(), always exit after the first cache
check if KRB5_GC_CACHED is specified. Not making network requests
with this flag is more important than finding a post-realm-discovery
cached entry.
If KRB5_GC_CACHED is specified without a principal name, fail
immediately, as we cannot check the cache by certificate.
https://github.com/krb5/krb5/commit/c770dfd7e2e5ca91fc1c450f60c2f546c0c2bd61
Author: Greg Hudson <ghudson@mit.edu>
Commit: c770dfd7e2e5ca91fc1c450f60c2f546c0c2bd61
Branch: master
src/lib/krb5/krb/s4u_creds.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)