[15908] in Kerberos_V5_Development
Re: krb5_get_error_message() and krb5_free_error_message() functions
daemon@ATHENA.MIT.EDU (Greg Hudson)
Sun Jun 20 18:46:13 2010
From: Greg Hudson <ghudson@mit.edu>
To: vir vir <vitrou2004@yahoo.com>
In-Reply-To: <736081.62182.qm@web50108.mail.re2.yahoo.com>
Date: Sun, 20 Jun 2010 18:46:09 -0400
Message-ID: <1277073969.12977.223.camel@ray>
Mime-Version: 1.0
Cc: "krbdev@mit.edu" <krbdev@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu
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.
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev