[15909] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: krb5_get_error_message() and krb5_free_error_message() functions

daemon@ATHENA.MIT.EDU (vir vir)
Mon Jun 21 00:55:11 2010

Message-ID: <978404.47635.qm@web50103.mail.re2.yahoo.com>
Date: Sun, 20 Jun 2010 21:55:05 -0700 (PDT)
From: vir vir <vitrou2004@yahoo.com>
To: Greg Hudson <ghudson@mit.edu>
In-Reply-To: <1277073969.12977.223.camel@ray>
MIME-Version: 1.0
Cc: "krbdev@mit.edu" <krbdev@mit.edu>
Content-Type: text/plain; charset="iso-8859-1"
Errors-To: krbdev-bounces@mit.edu
Content-Transfer-Encoding: 8bit

Hi Greg,
Thanks,
Alex

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


From: Greg Hudson <ghudson@MIT.EDU>
Subject: Re: krb5_get_error_message() and krb5_free_error_message() functions
To: "vir vir" <vitrou2004@yahoo.com>
Cc: "krbdev@mit.edu" <krbdev@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.




_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev


home help back first fref pref prev next nref lref last post