[krbdev.mit.edu #3502] Cannot acquire initiator cred using gss_acquire_cred with explicit name on Windows

Valerie Peng via RT rt-comment at krbdev.mit.edu
Wed Mar 15 19:02:32 EST 2006


Please ignore my previous email. I am not sure what went wrong before,
but things are working for me now.

I only have one more question - when will your fix be available?
When will the next MIT KFW release (assuming it has your fix of
course) available for download?

Thanks!
Valerie

Valerie Peng wrote:
> I corrected the length of name_val so that it uses strlen(..) which
> should not include the trailing null, but the result is the same.
> 
> Maybe you could send me the src of your gss_acquire_cred_test
> so I can compare and check.
> 
> Thanks!
> Valerie
> 
> Jeffrey Altman via RT wrote:
> 
>> Taking your code snippet I re-wrote it in C which I have attached to the
>> ticket.  The output of the resulting program is as follows:
>>
>> [C:\temp]gss_acquire_cred_test.exe jaltman
>>
>> [C:\temp]gss_acquire_cred_test.exe foo
>> GSS-API error client's gss_acquire_cred: Miscellaneous failure
>> GSS-API error client's gss_acquire_cred: Matching credential not found
>>
>> [C:\temp]gss_acquire_cred_test.exe jaltman at ATHENA.MIT.EDU
>>
>> [C:\temp]gss_acquire_cred_test.exe jaltman at JPL.NASA.GOV
>>
>> [C:\temp]gss_acquire_cred_test.exe jaltman at JPL.NASA.GO
>> GSS-API error client's gss_acquire_cred: Miscellaneous failure
>> GSS-API error client's gss_acquire_cred: Matching credential not found
>>
>>
>> I believe that you have a typo in your code because the length of the
>> name_val should not include the trailing NUL.
>>
>> I can find no error in the current implementation of the gssapi library.
>>
>> Jeffrey Altman
> 
> 
> 





More information about the krb5-bugs mailing list