krb5_get_error_message() and krb5_free_error_message() functions

vir vir vitrou2004 at yahoo.com
Thu Jun 24 08:31:21 EDT 2010


Hi,
 
is there a #define for versions
 
Thanks.

--- On Sun, 6/20/10, Greg Hudson <ghudson at MIT.EDU> wrote:


From: Greg Hudson <ghudson at MIT.EDU>
Subject: Re: krb5_get_error_message() and krb5_free_error_message() functions
To: "vir vir" <vitrou2004 at yahoo.com>
Cc: "krbdev at mit.edu" <krbdev at mit.edu>
Received: Sunday, June 20, 2010, 3:46 PM


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