1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/eBones/lib/libkrb/krb_err_txt.c
Justin T. Gibbs f4390542d7 Kerberos can now deal with multi-homed clients.
Kerberos obtains a network address for the local host from the routing
tables and uses it consistently for all Kerberos transactions.  This ensures
that packets only leave the *authenticated* interface.  Clients who open
and use their own sockets for encrypted or authenticated correspondance
to kerberos services should bind their sockets to the same address as that
used by kerberos.  krb_get_local_addr() and krb_bind_local_addr() allow
clients to obtain the local address or bind a socket to the local address
used by Kerberos respectively.

Reviewed by: Mark Murray <markm>, Garrett Wollman <wollman>
Obtained from: concept by Dieter Dworkin Muller <dworkin@village.org>
1995-10-05 21:30:21 +00:00

281 lines
7.7 KiB
C

/*
* Copyright 1988 by the Massachusetts Institute of Technology.
* For copying and distribution information, please see the file
* <Copyright.MIT>.
*
* from: krb_err_txt.c,v 4.7 88/12/01 14:10:14 jtkohl Exp $
* $Id: krb_err_txt.c,v 1.3 1995/09/07 21:38:10 markm Exp $
*/
#if 0
#ifndef lint
static char rcsid[] =
"$Id: krb_err_txt.c,v 1.3 1995/09/07 21:38:10 markm Exp $";
#endif lint
#endif
/*
* This file contains an array of error text strings.
* The associated error codes (which are defined in "krb.h")
* follow the string in the comments at the end of each line.
*/
char *krb_err_txt[256] = {
"OK", /* 000 */
"Principal expired (kerberos)", /* 001 */
"Service expired (kerberos)", /* 002 */
"Authentication expired (kerberos)", /* 003 */
"Unknown protocol version number (kerberos)", /* 004 */
"Principal: Incorrect master key version (kerberos)", /* 005 */
"Service: Incorrect master key version (kerberos)", /* 006 */
"Bad byte order (kerberos)", /* 007 */
"Principal unknown (kerberos)", /* 008 */
"Principal not unique (kerberos)", /* 009 */
"Principal has null key (kerberos)", /* 010 */
"Reserved error message 11 (kerberos)", /* 011 */
"Reserved error message 12 (kerberos)", /* 012 */
"Reserved error message 13 (kerberos)", /* 013 */
"Reserved error message 14 (kerberos)", /* 014 */
"Reserved error message 15 (kerberos)", /* 015 */
"Reserved error message 16 (kerberos)", /* 016 */
"Reserved error message 17 (kerberos)", /* 017 */
"Reserved error message 18 (kerberos)", /* 018 */
"Reserved error message 19 (kerberos)", /* 019 */
"Permission Denied (kerberos)", /* 020 */
"Can't read ticket file (krb_get_cred)", /* 021 */
"Can't find ticket (krb_get_cred)", /* 022 */
"Reserved error message 23 (krb_get_cred)", /* 023 */
"Reserved error message 24 (krb_get_cred)", /* 024 */
"Reserved error message 25 (krb_get_cred)", /* 025 */
"Ticket granting ticket expired (krb_mk_req)", /* 026 */
"Reserved error message 27 (krb_mk_req)", /* 027 */
"Reserved error message 28 (krb_mk_req)", /* 028 */
"Reserved error message 29 (krb_mk_req)", /* 029 */
"Reserved error message 30 (krb_mk_req)", /* 030 */
"Can't decode authenticator (krb_rd_req)", /* 031 */
"Ticket expired (krb_rd_req)", /* 032 */
"Ticket issue date too far in the future (krb_rd_req)",/* 033 */
"Repeat request (krb_rd_req)", /* 034 */
"Ticket for wrong server (krb_rd_req)", /* 035 */
"Request inconsistent (krb_rd_req)", /* 036 */
"Time is out of bounds (krb_rd_req)", /* 037 */
"Incorrect network address (krb_rd_req)", /* 038 */
"Protocol version mismatch (krb_rd_req)", /* 039 */
"Illegal message type (krb_rd_req)", /* 040 */
"Message integrity error (krb_rd_req)", /* 041 */
"Message duplicate or out of order (krb_rd_req)", /* 042 */
"Unauthorized request (krb_rd_req)", /* 043 */
"Reserved error message 44 (krb_rd_req)", /* 044 */
"Reserved error message 45 (krb_rd_req)", /* 045 */
"Reserved error message 46 (krb_rd_req)", /* 046 */
"Reserved error message 47 (krb_rd_req)", /* 047 */
"Reserved error message 48 (krb_rd_req)", /* 048 */
"Reserved error message 49 (krb_rd_req)", /* 049 */
"Reserved error message 50 (krb_rd_req)", /* 050 */
"Current password is NULL (get_pw_tkt)", /* 051 */
"Current password incorrect (get_pw_tkt)", /* 052 */
"Protocol error (gt_pw_tkt)", /* 053 */
"Error returned by KDC (gt_pw_tkt)", /* 054 */
"Null ticket returned by KDC (gt_pw_tkt)", /* 055 */
"Retry count exceeded (send_to_kdc)", /* 056 */
"Can't send request (send_to_kdc)", /* 057 */
"Reserved error message 58 (send_to_kdc)", /* 058 */
"Reserved error message 59 (send_to_kdc)", /* 059 */
"Reserved error message 60 (send_to_kdc)", /* 060 */
"Warning: Not ALL tickets returned", /* 061 */
"Password incorrect", /* 062 */
"Protocol error (get_intkt)", /* 063 */
"Reserved error message 64 (get_in_tkt)", /* 064 */
"Reserved error message 65 (get_in_tkt)", /* 065 */
"Reserved error message 66 (get_in_tkt)", /* 066 */
"Reserved error message 67 (get_in_tkt)", /* 067 */
"Reserved error message 68 (get_in_tkt)", /* 068 */
"Reserved error message 69 (get_in_tkt)", /* 069 */
"Generic error (get_intkt)", /* 070 */
"Don't have ticket granting ticket (get_ad_tkt)", /* 071 */
"Reserved error message 72 (get_ad_tkt)", /* 072 */
"Reserved error message 73 (get_ad_tkt)", /* 073 */
"Reserved error message 74 (get_ad_tkt)", /* 074 */
"Reserved error message 75 (get_ad_tkt)", /* 075 */
"No ticket file (tf_util)", /* 076 */
"Can't access ticket file (tf_util)", /* 077 */
"Can't lock ticket file; try later (tf_util)", /* 078 */
"Bad ticket file format (tf_util)", /* 079 */
"Read ticket file before tf_init (tf_util)", /* 080 */
"Bad Kerberos name format (kname_parse)", /* 081 */
"Can't open socket", /* 082 */
"Can't retrieve local interface list", /* 083 */
"No valid local interface found", /* 084 */
"Can't bind local address", /* 085 */
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"(reserved)",
"Generic kerberos error (kfailure)", /* 255 */
};