[krbdev.mit.edu #8153] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Mar 12 18:42:33 EDT 2015


Import names immediately with COMPOSITE_EXPORT

RFC 6680 specifies that GSS_Export_name_composite() "outputs a token that
"can be imported with GSS_Import_name(), using GSS_C_NT_COMPOSITE_EXPORT
as the name type...".  Therefore, in the gss_import_name mechglue, we
should perform the import process imediately when either
GSS_C_NT_COMPOSITE_EXPORT or GSS_C_NT_EXPORT_NAME are used (not just
for the later, as is the current functionality).

The naming extension test was also updated to display the result
of importing with GSS_C_NT_COMPOSITE_EXPORT in addition to
GSS_C_NT_EXPORT_NAME.

[ghudson at mit.edu: minor style changes]

https://github.com/krb5/krb5/commit/29dec110c43ae9cebdcd935906a3131ca9ac0c99
Author: Solly Ross <sross at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 29dec110c43ae9cebdcd935906a3131ca9ac0c99
Branch: master
 src/lib/gssapi/mechglue/g_imp_name.c |   15 ++++++++-------
 src/tests/gssapi/t_export_name.c     |   17 ++++++++++++++---
 src/tests/gssapi/t_gssapi.py         |    5 +++++
 src/tests/gssapi/t_namingexts.c      |   24 ++++++++++++++++++++++++
 4 files changed, 51 insertions(+), 10 deletions(-)



More information about the krb5-bugs mailing list