krb5_get_error_message() and krb5_free_error_message() functions

Greg Hudson ghudson at MIT.EDU
Sun Jun 20 18:46:09 EDT 2010


On Sun, 2010-06-20 at 17:12 -0400, vir vir wrote:
> I am using krb5 earlier then 1.4 that provided by the Linux OS.
> Can you please  recommend what are the best functions to use instead?

You can use error_message() (from the com_err library), but that just
translates the error code to a string; it doesn't retrieve the more
specific error message if one was set by the library.





More information about the krbdev mailing list