krb5_rd_error man page on GhostBSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
GhostBSD logo
[printable version]

KRB5_RD_ERROR(3)	 BSD Library Functions Manual	      KRB5_RD_ERROR(3)

     krb5_rd_error, krb5_free_error, krb5_free_error_contents,
     krb5_error_from_rd_error — parse, free and read error from KRB-ERROR mes‐

     Kerberos 5 Library (libkrb5, -lkrb5)

     #include <krb5.h>

     krb5_rd_error(krb5_context context, const krb5_data *msg,
	 KRB_ERROR *result);

     krb5_free_error(krb5_context context, krb5_error *error);

     krb5_free_error_contents(krb5_context context, krb5_error *error);

     krb5_error_from_rd_error(krb5_context context, const krb5_error *error,
	 const krb5_creds *creds);

     Usually applications never needs to parse and understand Kerberos error
     messages since higher level functions will parse and push up the error in
     the krb5_context.	These functions are described for completeness.

     krb5_rd_error() parses and returns the kerboeros error message, the
     structure should be freed with krb5_free_error_contents() when the caller
     is done with the structure.

     krb5_free_error() frees the content and the memory region holding the
     structure iself.

     krb5_free_error_contents() free the content of the KRB-ERROR message.

     krb5_error_from_rd_error() will parse the error message and set the error
     buffer in krb5_context to the error string passed back or the matching
     error code in the KRB-ERROR message.  Caller should pick up the message
     with krb5_get_error_string(3) (don't forget to free the returned string
     with krb5_free_error_string()).

     krb5(3), krb5_set_error_string(3), krb5_get_error_string(3), krb5.conf(5)

HEIMDAL				 July 26, 2004			       HEIMDAL

List of man pages available for GhostBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net