[krbdev.mit.edu #7706] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Thu Oct 17 18:07:20 EDT 2013


Fix GSSAPI krb5 cred ccache import

json_to_ccache was incorrectly indexing the JSON array when restoring
a memory ccache.  Fix it.

Add test coverage for a multi-cred ccache by exporting/importing the
synthesized S4U2Proxy delegated cred in t_s4u2proxy_krb5.c; move
export_import_cred from t_export_cred.c to common.c to facilitate
this.  Make a note in t_export_cred.py that this case is covered in
t_s4u.py.

(cherry picked from commit 48dd01f29b893a958a64dcf6eb0b734e8463425b)

https://github.com/krb5/krb5/commit/be45a2ae66e4a3287b434a900ebdc52a12226449
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: be45a2ae66e4a3287b434a900ebdc52a12226449
Branch: krb5-1.12
 src/lib/gssapi/krb5/import_cred.c   |    2 +-
 src/tests/gssapi/common.c           |   14 ++++++++++++++
 src/tests/gssapi/common.h           |    4 ++++
 src/tests/gssapi/t_export_cred.c    |   16 ----------------
 src/tests/gssapi/t_export_cred.py   |    5 ++++-
 src/tests/gssapi/t_s4u2proxy_krb5.c |    4 ++++
 6 files changed, 27 insertions(+), 18 deletions(-)



More information about the krb5-bugs mailing list