odd error_message() behavior

Will Fiveash will.fiveash at oracle.com
Fri Apr 19 18:41:00 EDT 2013

On Fri, Apr 19, 2013 at 04:58:56PM -0500, Will Fiveash wrote:
> so it uses MIT libkrb5 like so:
> $ cc -o krb_error_message -I/usr/local/include -L/usr/local/lib -lcom_err -lkrb5 krb_error_message.c
> Note in lib/krb5/error_tables/krb5_err.h:
> #define KRB5KDC_ERR_NULL_KEY                     (-1765328375L)
> $ LD_LIBRARY_PATH=/usr/local/lib ./krb_error_message -1765328375                                    
> libkrb5 error_message(): "Unknown code krb5 9"

I figured it out.  I need to call:


in order for the global et_list used by error_message() to be 

Will Fiveash
Oracle Solaris Software Engineer

More information about the krbdev mailing list