From beb51858fd47acb0d71fb9774f846bfcd1585569 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 13 Nov 2013 18:13:44 -0500 Subject: Fix calling gpm_inquire_cred_by_mech We need to pass the real mechanism oid here, not the spcial oid. special oids are used exclusively by the interposer and gssapi machinery that calls the interposer, they must never be propagated to clients or servers. --- proxy/src/mechglue/gpp_creds.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proxy') diff --git a/proxy/src/mechglue/gpp_creds.c b/proxy/src/mechglue/gpp_creds.c index aaaf577..dff9c44 100644 --- a/proxy/src/mechglue/gpp_creds.c +++ b/proxy/src/mechglue/gpp_creds.c @@ -213,7 +213,8 @@ OM_uint32 gssi_inquire_cred_by_mech(OM_uint32 *minor_status, initiator_lifetime, acceptor_lifetime, cred_usage); } else if (cred->remote) { - maj = gpm_inquire_cred_by_mech(&min, cred->remote, mech_type, + maj = gpm_inquire_cred_by_mech(&min, cred->remote, + gpp_unspecial_mech(mech_type), gpname ? &gpname->remote : NULL, initiator_lifetime, acceptor_lifetime, cred_usage); -- cgit