]> git.ipfire.org Git - thirdparty/krb5.git/commit
Import names immediately with COMPOSITE_EXPORT
authorSolly Ross <sross@redhat.com>
Thu, 5 Mar 2015 18:22:58 +0000 (13:22 -0500)
committerGreg Hudson <ghudson@mit.edu>
Thu, 12 Mar 2015 22:42:00 +0000 (18:42 -0400)
commit29dec110c43ae9cebdcd935906a3131ca9ac0c99
tree5ada3e2b1aebd8e5a7bea81fd8bdcac38f23f60c
parente732d9dc3f2e7b01ff3c8305d58a3a754c9e9ec5
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@mit.edu: minor style changes]

ticket: 8153 (new)
target_version: 1.13.2
tags: pullup
src/lib/gssapi/mechglue/g_imp_name.c
src/tests/gssapi/t_export_name.c
src/tests/gssapi/t_gssapi.py
src/tests/gssapi/t_namingexts.c