[39390] in Kerberos

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

How to get Kerberos token for proxy authentication

daemon@ATHENA.MIT.EDU (manju k via Kerberos)
Sun Mar 17 01:40:25 2024

Date: Sun, 17 Mar 2024 05:37:46 +0000 (UTC)
To: "kerberos@mit.edu" <kerberos@mit.edu>
Message-ID: <1182031369.5745575.1710653866918@mail.yahoo.com>
MIME-Version: 1.0
From: manju k via Kerberos <kerberos@mit.edu>
Reply-To: manju k <m_a_n_j_u_s_k@yahoo.com>
Content-Type: text/plain; charset="utf-8"
Errors-To: kerberos-bounces@mit.edu
Content-Transfer-Encoding: 8bit

Hi,
I have a requirement to authenticate my application (Golang)  against a proxy server which requires Kerberos authentication.
I have achieved this on Windows using github/alexbrainman/sspi Golang package.From that package I basically call  negotiate.AcquireCurrentUserCredentials() and negotiate.NewClientContext() to get the client token which gets passed to the proxy server in Proxy-Authorization header.
I want to achieve the same on macOS and looking for suitable libraries.  Can I use MIT Kerberos library for this purpose ?what are the APIs equivalent to get client token without prompting the user for password ? The user would have acquired Kerberos ticket on sign-in as a domain user. Appreciate any inputs on this. Thank you.
-mk

   



________________________________________________
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