[krbdev.mit.edu #7728] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Fri Aug 8 13:06:50 EDT 2014


In ksu, don't stat() not-on-disk ccache residuals

Don't assume that ccache residual names are filenames which we can
stat() usefully.  Instead, use helper functions to call the library
routines to try to read the default principal name from caches, and
use whether or not that succeeds as an indication of whether or not
there's a ccache in a given location.

https://github.com/krb5/krb5/commit/9ebae7cb434b9b177c0af85c67a6d6267f46bc68
Author: Nalin Dahyabhai <nalin at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 9ebae7cb434b9b177c0af85c67a6d6267f46bc68
Branch: master
 src/clients/ksu/ccache.c    |   60 +++++++++++++++++++-------------
 src/clients/ksu/heuristic.c |   13 +------
 src/clients/ksu/ksu.h       |    8 +++-
 src/clients/ksu/main.c      |   79 +++++++++----------------------------------
 4 files changed, 60 insertions(+), 100 deletions(-)



More information about the krb5-bugs mailing list