Mac OS X Kerberos
Benjamin Kaduk
kaduk at MIT.EDU
Wed Mar 4 17:40:01 EST 2015
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
More information about the Kerberos
mailing list