[36823] in Kerberos

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

Re: Mac OS X Kerberos

daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Wed Mar 4 17:40:19 2015

Date: Wed, 4 Mar 2015 17:40:01 -0500 (EST)
From: Benjamin Kaduk <kaduk@mit.edu>
To: Markus Moeller <huaraz@moeller.plus.com>
In-Reply-To: <md815h$7nb$1@ger.gmane.org>
Message-ID: <alpine.GSO.1.10.1503041738410.3953@multics.mit.edu>
MIME-Version: 1.0
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

On Wed, 4 Mar 2015, Markus Moeller wrote:

> Is there anywhere a guide how to work with the Mac GSS Framework ?  There
> are many functions marked as deprecated, but I could not find any
> instruction how to replace them. Example:
>
> error: 'krb5_init_context' is deprecated: use GSS.framework
>      [-Werror,-Wdeprecated-declarations]
>    code = krb5_init_context(&kcontext);
>           ^

One workaround is to "#define KERBEROS_APPLE_DEPRECATED(x)" (to nothing)
before including krb5.h.

The intent of the deprecation warning is to get you to use the gss_*
routines (not the krb5_* routines), via the GSS Framework.  Existing
software written against the krb5 routines can't easily change, though.

-Ben Kaduk
________________________________________________
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