Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

krb5_error_from_rd_error(3) [debian man page]

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

NAME
krb5_rd_error, krb5_free_error, krb5_free_error_contents, krb5_error_from_rd_error -- parse, free and read error from KRB-ERROR message LIBRARY
Kerberos 5 Library (libkrb5, -lkrb5) SYNOPSIS
#include <krb5.h> krb5_error_code krb5_rd_error(krb5_context context, const krb5_data *msg, KRB_ERROR *result); void krb5_free_error(krb5_context context, krb5_error *error); void krb5_free_error_contents(krb5_context context, krb5_error *error); krb5_error_code krb5_error_from_rd_error(krb5_context context, const krb5_error *error, const krb5_creds *creds); DESCRIPTION
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()). SEE ALSO
krb5(3), krb5_set_error_string(3), krb5_get_error_string(3), krb5.conf(5) HEIMDAL
July 26, 2004 HEIMDAL

Check Out this Related Man Page

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

NAME
krb5_rd_error, krb5_free_error, krb5_free_error_contents, krb5_error_from_rd_error -- parse, free and read error from KRB-ERROR message LIBRARY
Kerberos 5 Library (libkrb5, -lkrb5) SYNOPSIS
#include <krb5.h> krb5_error_code krb5_rd_error(krb5_context context, const krb5_data *msg, KRB_ERROR *result); void krb5_free_error(krb5_context context, krb5_error *error); void krb5_free_error_contents(krb5_context context, krb5_error *error); krb5_error_code krb5_error_from_rd_error(krb5_context context, const krb5_error *error, const krb5_creds *creds); DESCRIPTION
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()). SEE ALSO
krb5(3), krb5_set_error_string(3), krb5_get_error_string(3), krb5.conf(5) HEIMDAL
July 26, 2004 HEIMDAL
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies

2. AIX

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies

3. Shell Programming and Scripting

Need to capture ERROR msg and stack trace

Hi all, I was hoping someone can point me in the right direction. I'm trying to filter out errors from a web log- any lines with ERROR in it. I know I could simply use the grep command to do this. However, there are times when a stack trace follows the error line. I would like to capture these... (2 Replies)
Discussion started by: gswhoops
2 Replies

4. Shell Programming and Scripting

Script help needed

I have a code given below... ERROR=`grep "Job Status" ${LOG_FILE}` ERROR=${ERROR##*\(} ERROR=${ERROR%%\)*} if then echo "The job completed successfully" EXIT_STATUS=0 else echo "The job failed" EXIT_STATUS=1 fi can anybody tell me what is ERROR=${ERROR##*\(}... (1 Reply)
Discussion started by: Sagarddd
1 Replies

5. Shell Programming and Scripting

Grep to find single instances of each ERROR type

i have a file that contents multiple instances of the same ERROR.Below the content of the file ERROR_FILE.txt Archiver6.log:2009-05-25 17:58:44,385 ERROR - CleanLPDataMessage: Missing Intervals: 2 Archiver6.log:2009-05-25 18:27:36,056 ERROR - CleanLPDataMessage: Missing Intervals: 5... (5 Replies)
Discussion started by: ali560045
5 Replies

6. AIX

ld: 0711-736 ERROR:

I am trying to build a code on IBM_AIX 5.3. & getting error message as- ld: 0711-736 ERROR: Input file $projdir/obj/ibm/5.3/new/new.o: XCOFF64 object files are not allowed in 32-bit mode. Error code return is 8. Can anybody guide to resolve the error. Thanks (5 Replies)
Discussion started by: milindb
5 Replies

7. Shell Programming and Scripting

ERROR: ./launch_full_backup.sh[18]: Syntax error at line 28 : `else' is not expected.

Help please! :confused: I have the following error with the following file and the emails are not arriving to the email, any idea please? ERROR: ./launch_full_backup.sh: Syntax error at line 28 : `else' is not expected. FECHA=`date +%d%m%y%H%M`... (2 Replies)
Discussion started by: villenan
2 Replies

8. Shell Programming and Scripting

(standard_in) 1: parse error

Hi all, Could someone please to tell me when do we exactly get the below error and how to get rid of it. I am unable to trace the error. (standard_in) 1: parse error Thanks in advance !! (4 Replies)
Discussion started by: sparks
4 Replies

9. Virtualization and Cloud Computing

ICFB ERROR

Hi All, We are using Citrix MFU 4. When users try to launch ICFB (Cadence)tool, They get the below error: Using Cadence version ic5141_isr141 *ERROR* Failed to find either 24-bit TrueColor or 8-bit PseudoColor Visual. *WARNING* Failed to find either 24-bit TrueColor or 8-pbit PseudoColor... (0 Replies)
Discussion started by: mspatil0037
0 Replies

10. Shell Programming and Scripting

Error line number

Hi I have a error message like this. ERROR at line 1: ERROR at line 15: ERROR at line 49: I want to grep the number from the ERROR line. Can some one help here. Thanks, Rami Reddy. (5 Replies)
Discussion started by: Rami Reddy
5 Replies