KRB5 ccache on MACOS

Markus Moeller huaraz at moeller.plus.com
Sun Oct 10 14:23:53 EDT 2021


Hi,

I tried to use the MIT version 1-19 instead on my MAC but run into a 
different issue. The same code works on Linux but on MAC I get this SPNEGO 
error.  Any hint why this might be the case ?

gss_init_sec_context()failed: Unspecified GSS failure.  Minor code may 
provide more information. SPNEGO cannot find mechanisms to negotiate

    major_status = gss_init_sec_context(&minor_status,
                                        GSS_C_NO_CREDENTIAL,
                                        &gss_context,
                                        server_name,
                                        gss_mech_spnego,
                                        0,
                                        0,
                                        GSS_C_NO_CHANNEL_BINDINGS,
                                        &input_token, NULL, &output_token, 
NULL, NULL);


Thank you
Markus


"Markus Moeller"  wrote in message news:sjtabp$7tp$2 at ciao.gmane.io...

Hi

   I was trying to share a FILE ccache between different process/logins on a
MAC but it seems gss_init_sec_context ignores KRB5CCNAME on a MAC. Is that
correct ? If so is there a way to share the API ccache ?

   The case I have is a background job seems to use the API ccache of when
the user was logged in.  When I log off and log in again I can't access  the
original ccache anymore i.e. I can't update the credentials and need to kill
and restart the background job.

Thank you
Markus


________________________________________________
Kerberos mailing list           Kerberos at mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos 




More information about the Kerberos mailing list