[39022] in Kerberos

home help back first fref pref prev next nref lref last post

Re: KRB5 ccache on MACOS

daemon@ATHENA.MIT.EDU (Markus Moeller)
Sun Oct 10 14:27:28 2021

To: <kerberos@mit.edu>
From: "Markus Moeller" <huaraz@moeller.plus.com>
Date: Sun, 10 Oct 2021 19:23:53 +0100
Message-ID: <sjvb4m$12ko$1@ciao.gmane.io>
MIME-Version: 1.0
In-Reply-To: <sjtabp$7tp$2@ciao.gmane.io>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

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@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@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos 


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

home help back first fref pref prev next nref lref last post