Question about use of krb5_get_init_creds_opt_alloc

Markus Moeller huaraz at moeller.plus.com
Mon Dec 2 16:57:31 EST 2013


Ah yes that solved it. 

Thank you
Markus

"Greg Hudson"  wrote in message news:529CF20B.8050609 at mit.edu... 

On 12/01/2013 06:59 PM, Markus Moeller wrote:
> krb5_get_init_creds_opt_alloc(kparam.context, &options))
> krb5_get_init_creds_opt_init(options);

Don't call krb5_get_init_creds_opt_init().  It's a deprecated function,
and by calling it you're zeroing out the flag which remembers that there
is memory allocated for extended options.
________________________________________________
Kerberos mailing list           Kerberos at mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos



More information about the Kerberos mailing list