On 10/08/2012, at 6:35 PM, Alejandro Perez Mendez <[log in to unmask]> wrote:
> On 10/08/12 09:29, Luke Howard wrote:
>> On 10/08/2012, at 6:28 PM, Alejandro Perez Mendez <[log in to unmask]> wrote:
>>
>>> It seems it never executes that function. I inserted an abort() in import_name.c, right before calling gssEapImportName. It didn't reach that code.
>> Break on importExportName in the mechglue, see what happens.
>>
>> -- Luke
>
> It reaches that function. Actually, the output point is:
>
> buf += mechOid.length;
> if ((mech = gssint_get_mechanism(&mechOid)) == NULL)
> return (GSS_S_BAD_MECH);
>
> Thus, maybe the exported context didn't contained mech_info?
Adding the top-level mechanism OID should be done by gss_export_sec_context in the mechglue.
Did you step into gssint_get_mechanism to see why it's failing?
-- Luke
|