[krbdev.mit.edu #7706] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Oct 14 23:44:19 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.

https://github.com/krb5/krb5/commit/48dd01f29b893a958a64dcf6eb0b734e8463425b
Author: Greg Hudson <ghudson at mit.edu>
Commit: 48dd01f29b893a958a64dcf6eb0b734e8463425b
Branch: master
 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