[krbdev.mit.edu #8360] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Tue Apr 5 23:02:54 EDT 2016


Use public OID for interposing several functions

This resolves an issue where an interposer would receive the private
OID, and be unable to call back into krb5 in the expected manner in
gss_inquire_names_for_mech(), gss_inquire_cred_by_mech(),
gss_localname(), gss_store_cred(), and gss_store_cred_into().

Also change the return code of gss_localname() to GSS_S_BAD_MECH
instead of GSS_S_UNAVAILABLE on mech lookup failure, for consistency
with other functions.

(cherry picked from commit fe73f1130695880bd83cf811c37131b12711be23)

https://github.com/krb5/krb5/commit/d6fa09597eee34e15a70f3d0ef937f7122be0e56
Author: Robbie Harwood <rharwood at redhat.com>
Committer: Tom Yu <tlyu at mit.edu>
Commit: d6fa09597eee34e15a70f3d0ef937f7122be0e56
Branch: krb5-1.14
 src/lib/gssapi/mechglue/g_inq_cred.c        |    5 ++-
 src/lib/gssapi/mechglue/g_inq_names.c       |   28 ++++++++++----------------
 src/lib/gssapi/mechglue/g_store_cred.c      |    6 +++-
 src/lib/gssapi/mechglue/gssd_pname_to_uid.c |    7 +++--
 4 files changed, 22 insertions(+), 24 deletions(-)



More information about the krb5-bugs mailing list