Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit
Download (untitled) / with headers
text/plain 1.1KiB

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]

https://github.com/krb5/krb5/commit/29dec110c43ae9cebdcd935906a3131ca9ac0c99
Author: Solly Ross <sross@redhat.com>
Committer: Greg Hudson <ghudson@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(-)
From: tlyu@mit.edu
Subject: git commit
Download (untitled) / with headers
text/plain 1.1KiB

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]

(cherry picked from commit 29dec110c43ae9cebdcd935906a3131ca9ac0c99)

https://github.com/krb5/krb5/commit/f2302383dd3a32bf22f437c4e1d10533323db5dc
Author: Solly Ross <sross@redhat.com>
Committer: Tom Yu <tlyu@mit.edu>
Commit: f2302383dd3a32bf22f437c4e1d10533323db5dc
Branch: krb5-1.13
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(-)