Skip Menu |
 

Subject: Fix gss_set_cred_option cred creation with no name
r25037 should be pulled up to 1.9. It fixes krb5_gss_import_cred with no
specified keytab principal.
From: tlyu@mit.edu
Subject: SVN Commit

pull up r25037 from trunk

------------------------------------------------------------------------
r25037 | ghudson | 2011-07-22 12:56:36 -0400 (Fri, 22 Jul 2011) | 9 lines

Fix gss_set_cred_option cred creation with no name.

When creating a cred in the mechglue with gss_acquire_cred, the
mechanism is allowed to return no name from gss_inquire_cred. But in
the analagous operation in gss_set_cred_option, that would result in
an error from gss_display_name. Make the call to gss_display_name
conditional on the mechanism name being set. Reported by Andrew
Bartlett.

https://github.com/krb5/krb5/commit/71c3be093db577aa52f6b9a9a3a9f442ca0d8f20
Commit By: tlyu
Revision: 25373
Changed Files:
U branches/krb5-1-9/src/lib/gssapi/mechglue/g_set_cred_option.c