diff options
Diffstat (limited to 'source4/heimdal')
-rw-r--r-- | source4/heimdal/lib/krb5/heim_err.c | 162 | ||||
-rw-r--r-- | source4/heimdal/lib/krb5/k524_err.c | 30 | ||||
-rw-r--r-- | source4/heimdal/lib/krb5/krb5_err.c | 271 |
3 files changed, 0 insertions, 463 deletions
diff --git a/source4/heimdal/lib/krb5/heim_err.c b/source4/heimdal/lib/krb5/heim_err.c deleted file mode 100644 index f72a265ba9..0000000000 --- a/source4/heimdal/lib/krb5/heim_err.c +++ /dev/null @@ -1,162 +0,0 @@ -/* Generated from heim_err.et */ -/* $Id: heim_err.et,v 1.13 2004/02/13 16:23:40 lha Exp $ */ - -#include <stddef.h> -#include <com_err.h> -#include "heim_err.h" - -static const char *heim_error_strings[] = { - /* 000 */ "Error parsing log destination", - /* 001 */ "Failed to convert v4 principal", - /* 002 */ "Salt type is not supported by enctype", - /* 003 */ "Host not found", - /* 004 */ "Operation not supported", - /* 005 */ "End of file", - /* 006 */ "Failed to get the master key", - /* 007 */ "Unacceptable service used", - /* 008 */ "Reserved heim error (8)", - /* 009 */ "Reserved heim error (9)", - /* 010 */ "Reserved heim error (10)", - /* 011 */ "Reserved heim error (11)", - /* 012 */ "Reserved heim error (12)", - /* 013 */ "Reserved heim error (13)", - /* 014 */ "Reserved heim error (14)", - /* 015 */ "Reserved heim error (15)", - /* 016 */ "Reserved heim error (16)", - /* 017 */ "Reserved heim error (17)", - /* 018 */ "Reserved heim error (18)", - /* 019 */ "Reserved heim error (19)", - /* 020 */ "Reserved heim error (20)", - /* 021 */ "Reserved heim error (21)", - /* 022 */ "Reserved heim error (22)", - /* 023 */ "Reserved heim error (23)", - /* 024 */ "Reserved heim error (24)", - /* 025 */ "Reserved heim error (25)", - /* 026 */ "Reserved heim error (26)", - /* 027 */ "Reserved heim error (27)", - /* 028 */ "Reserved heim error (28)", - /* 029 */ "Reserved heim error (29)", - /* 030 */ "Reserved heim error (30)", - /* 031 */ "Reserved heim error (31)", - /* 032 */ "Reserved heim error (32)", - /* 033 */ "Reserved heim error (33)", - /* 034 */ "Reserved heim error (34)", - /* 035 */ "Reserved heim error (35)", - /* 036 */ "Reserved heim error (36)", - /* 037 */ "Reserved heim error (37)", - /* 038 */ "Reserved heim error (38)", - /* 039 */ "Reserved heim error (39)", - /* 040 */ "Reserved heim error (40)", - /* 041 */ "Reserved heim error (41)", - /* 042 */ "Reserved heim error (42)", - /* 043 */ "Reserved heim error (43)", - /* 044 */ "Reserved heim error (44)", - /* 045 */ "Reserved heim error (45)", - /* 046 */ "Reserved heim error (46)", - /* 047 */ "Reserved heim error (47)", - /* 048 */ "Reserved heim error (48)", - /* 049 */ "Reserved heim error (49)", - /* 050 */ "Reserved heim error (50)", - /* 051 */ "Reserved heim error (51)", - /* 052 */ "Reserved heim error (52)", - /* 053 */ "Reserved heim error (53)", - /* 054 */ "Reserved heim error (54)", - /* 055 */ "Reserved heim error (55)", - /* 056 */ "Reserved heim error (56)", - /* 057 */ "Reserved heim error (57)", - /* 058 */ "Reserved heim error (58)", - /* 059 */ "Reserved heim error (59)", - /* 060 */ "Reserved heim error (60)", - /* 061 */ "Reserved heim error (61)", - /* 062 */ "Reserved heim error (62)", - /* 063 */ "Reserved heim error (63)", - /* 064 */ "Certificate missing", - /* 065 */ "Private key missing", - /* 066 */ "No valid certificate authority", - /* 067 */ "Certificate invalid", - /* 068 */ "Private key invalid", - /* 069 */ "Reserved heim error (69)", - /* 070 */ "Reserved heim error (70)", - /* 071 */ "Reserved heim error (71)", - /* 072 */ "Reserved heim error (72)", - /* 073 */ "Reserved heim error (73)", - /* 074 */ "Reserved heim error (74)", - /* 075 */ "Reserved heim error (75)", - /* 076 */ "Reserved heim error (76)", - /* 077 */ "Reserved heim error (77)", - /* 078 */ "Reserved heim error (78)", - /* 079 */ "Reserved heim error (79)", - /* 080 */ "Reserved heim error (80)", - /* 081 */ "Reserved heim error (81)", - /* 082 */ "Reserved heim error (82)", - /* 083 */ "Reserved heim error (83)", - /* 084 */ "Reserved heim error (84)", - /* 085 */ "Reserved heim error (85)", - /* 086 */ "Reserved heim error (86)", - /* 087 */ "Reserved heim error (87)", - /* 088 */ "Reserved heim error (88)", - /* 089 */ "Reserved heim error (89)", - /* 090 */ "Reserved heim error (90)", - /* 091 */ "Reserved heim error (91)", - /* 092 */ "Reserved heim error (92)", - /* 093 */ "Reserved heim error (93)", - /* 094 */ "Reserved heim error (94)", - /* 095 */ "Reserved heim error (95)", - /* 096 */ "Reserved heim error (96)", - /* 097 */ "Reserved heim error (97)", - /* 098 */ "Reserved heim error (98)", - /* 099 */ "Reserved heim error (99)", - /* 100 */ "Reserved heim error (100)", - /* 101 */ "Reserved heim error (101)", - /* 102 */ "Reserved heim error (102)", - /* 103 */ "Reserved heim error (103)", - /* 104 */ "Reserved heim error (104)", - /* 105 */ "Reserved heim error (105)", - /* 106 */ "Reserved heim error (106)", - /* 107 */ "Reserved heim error (107)", - /* 108 */ "Reserved heim error (108)", - /* 109 */ "Reserved heim error (109)", - /* 110 */ "Reserved heim error (110)", - /* 111 */ "Reserved heim error (111)", - /* 112 */ "Reserved heim error (112)", - /* 113 */ "Reserved heim error (113)", - /* 114 */ "Reserved heim error (114)", - /* 115 */ "Reserved heim error (115)", - /* 116 */ "Reserved heim error (116)", - /* 117 */ "Reserved heim error (117)", - /* 118 */ "Reserved heim error (118)", - /* 119 */ "Reserved heim error (119)", - /* 120 */ "Reserved heim error (120)", - /* 121 */ "Reserved heim error (121)", - /* 122 */ "Reserved heim error (122)", - /* 123 */ "Reserved heim error (123)", - /* 124 */ "Reserved heim error (124)", - /* 125 */ "Reserved heim error (125)", - /* 126 */ "Reserved heim error (126)", - /* 127 */ "Reserved heim error (127)", - /* 128 */ "unknown error from getaddrinfo", - /* 129 */ "address family for nodename not supported", - /* 130 */ "temporary failure in name resolution", - /* 131 */ "invalid value for ai_flags", - /* 132 */ "non-recoverable failure in name resolution", - /* 133 */ "ai_family not supported", - /* 134 */ "memory allocation failure", - /* 135 */ "no address associated with nodename", - /* 136 */ "nodename nor servname provided, or not known", - /* 137 */ "servname not supported for ai_socktype", - /* 138 */ "ai_socktype not supported", - /* 139 */ "system error returned in errno", - NULL -}; - -#define num_errors 140 - -void initialize_heim_error_table_r(struct et_list **list) -{ - initialize_error_table_r(list, heim_error_strings, num_errors, ERROR_TABLE_BASE_heim); -} - -void initialize_heim_error_table(void) -{ - init_error_table(heim_error_strings, ERROR_TABLE_BASE_heim, num_errors); -} diff --git a/source4/heimdal/lib/krb5/k524_err.c b/source4/heimdal/lib/krb5/k524_err.c deleted file mode 100644 index 266d3ee577..0000000000 --- a/source4/heimdal/lib/krb5/k524_err.c +++ /dev/null @@ -1,30 +0,0 @@ -/* Generated from k524_err.et */ -/* $Id: k524_err.et,v 1.1 2001/06/20 02:44:11 joda Exp $ */ - -#include <stddef.h> -#include <com_err.h> -#include "k524_err.h" - -static const char *k524_error_strings[] = { - /* 000 */ "wrong keytype in ticket", - /* 001 */ "incorrect network address", - /* 002 */ "cannot convert V5 principal", - /* 003 */ "V5 realm name longer than V4 maximum", - /* 004 */ "kerberos V4 error server", - /* 005 */ "encoding too large at server", - /* 006 */ "decoding out of data", - /* 007 */ "service not responding", - NULL -}; - -#define num_errors 8 - -void initialize_k524_error_table_r(struct et_list **list) -{ - initialize_error_table_r(list, k524_error_strings, num_errors, ERROR_TABLE_BASE_k524); -} - -void initialize_k524_error_table(void) -{ - init_error_table(k524_error_strings, ERROR_TABLE_BASE_k524, num_errors); -} diff --git a/source4/heimdal/lib/krb5/krb5_err.c b/source4/heimdal/lib/krb5/krb5_err.c deleted file mode 100644 index 9185f729d5..0000000000 --- a/source4/heimdal/lib/krb5/krb5_err.c +++ /dev/null @@ -1,271 +0,0 @@ -/* Generated from krb5_err.et */ -/* $Id: krb5_err.et,v 1.14 2006/02/13 11:28:22 lha Exp $ */ - -#include <stddef.h> -#include <com_err.h> -#include "krb5_err.h" - -static const char *krb5_error_strings[] = { - /* 000 */ "No error", - /* 001 */ "Client's entry in database has expired", - /* 002 */ "Server's entry in database has expired", - /* 003 */ "Requested protocol version not supported", - /* 004 */ "Client's key is encrypted in an old master key", - /* 005 */ "Server's key is encrypted in an old master key", - /* 006 */ "Client not found in Kerberos database", - /* 007 */ "Server not found in Kerberos database", - /* 008 */ "Principal has multiple entries in Kerberos database", - /* 009 */ "Client or server has a null key", - /* 010 */ "Ticket is ineligible for postdating", - /* 011 */ "Requested effective lifetime is negative or too short", - /* 012 */ "KDC policy rejects request", - /* 013 */ "KDC can't fulfill requested option", - /* 014 */ "KDC has no support for encryption type", - /* 015 */ "KDC has no support for checksum type", - /* 016 */ "KDC has no support for padata type", - /* 017 */ "KDC has no support for transited type", - /* 018 */ "Clients credentials have been revoked", - /* 019 */ "Credentials for server have been revoked", - /* 020 */ "TGT has been revoked", - /* 021 */ "Client not yet valid - try again later", - /* 022 */ "Server not yet valid - try again later", - /* 023 */ "Password has expired", - /* 024 */ "Preauthentication failed", - /* 025 */ "Additional pre-authentication required", - /* 026 */ "Requested server and ticket don't match", - /* 027 */ "Reserved krb5 error (27)", - /* 028 */ "Reserved krb5 error (28)", - /* 029 */ "Reserved krb5 error (29)", - /* 030 */ "Reserved krb5 error (30)", - /* 031 */ "Decrypt integrity check failed", - /* 032 */ "Ticket expired", - /* 033 */ "Ticket not yet valid", - /* 034 */ "Request is a replay", - /* 035 */ "The ticket isn't for us", - /* 036 */ "Ticket/authenticator don't match", - /* 037 */ "Clock skew too great", - /* 038 */ "Incorrect net address", - /* 039 */ "Protocol version mismatch", - /* 040 */ "Invalid message type", - /* 041 */ "Message stream modified", - /* 042 */ "Message out of order", - /* 043 */ "Invalid cross-realm ticket", - /* 044 */ "Key version is not available", - /* 045 */ "Service key not available", - /* 046 */ "Mutual authentication failed", - /* 047 */ "Incorrect message direction", - /* 048 */ "Alternative authentication method required", - /* 049 */ "Incorrect sequence number in message", - /* 050 */ "Inappropriate type of checksum in message", - /* 051 */ "Policy rejects transited path", - /* 052 */ "Response too big for UDP, retry with TCP", - /* 053 */ "Reserved krb5 error (53)", - /* 054 */ "Reserved krb5 error (54)", - /* 055 */ "Reserved krb5 error (55)", - /* 056 */ "Reserved krb5 error (56)", - /* 057 */ "Reserved krb5 error (57)", - /* 058 */ "Reserved krb5 error (58)", - /* 059 */ "Reserved krb5 error (59)", - /* 060 */ "Generic error (see e-text)", - /* 061 */ "Field is too long for this implementation", - /* 062 */ "Client not trusted", - /* 063 */ "KDC not trusted", - /* 064 */ "Invalid signature", - /* 065 */ "DH parameters not accepted", - /* 066 */ "Reserved krb5 error (66)", - /* 067 */ "Reserved krb5 error (67)", - /* 068 */ "Reserved krb5 error (68)", - /* 069 */ "User to user required", - /* 070 */ "Cannot verify certificate", - /* 071 */ "Certificate invalid", - /* 072 */ "Certificate revoked", - /* 073 */ "Revocation status unknown", - /* 074 */ "Revocation status unknown", - /* 075 */ "Inconsistent key purpose", - /* 076 */ "Digest in certificate not accepted", - /* 077 */ "paChecksum must be included", - /* 078 */ "Digest in signedData not accepted", - /* 079 */ "Public key encryption not supported", - /* 080 */ "Reserved krb5 error (80)", - /* 081 */ "Reserved krb5 error (81)", - /* 082 */ "Reserved krb5 error (82)", - /* 083 */ "Reserved krb5 error (83)", - /* 084 */ "Reserved krb5 error (84)", - /* 085 */ "Reserved krb5 error (85)", - /* 086 */ "Reserved krb5 error (86)", - /* 087 */ "Reserved krb5 error (87)", - /* 088 */ "Reserved krb5 error (88)", - /* 089 */ "Reserved krb5 error (89)", - /* 090 */ "Reserved krb5 error (90)", - /* 091 */ "Reserved krb5 error (91)", - /* 092 */ "Reserved krb5 error (92)", - /* 093 */ "Reserved krb5 error (93)", - /* 094 */ "Reserved krb5 error (94)", - /* 095 */ "Reserved krb5 error (95)", - /* 096 */ "Reserved krb5 error (96)", - /* 097 */ "Reserved krb5 error (97)", - /* 098 */ "Reserved krb5 error (98)", - /* 099 */ "Reserved krb5 error (99)", - /* 100 */ "Reserved krb5 error (100)", - /* 101 */ "Reserved krb5 error (101)", - /* 102 */ "Reserved krb5 error (102)", - /* 103 */ "Reserved krb5 error (103)", - /* 104 */ "Reserved krb5 error (104)", - /* 105 */ "Reserved krb5 error (105)", - /* 106 */ "Reserved krb5 error (106)", - /* 107 */ "Reserved krb5 error (107)", - /* 108 */ "Reserved krb5 error (108)", - /* 109 */ "Reserved krb5 error (109)", - /* 110 */ "Reserved krb5 error (110)", - /* 111 */ "Reserved krb5 error (111)", - /* 112 */ "Reserved krb5 error (112)", - /* 113 */ "Reserved krb5 error (113)", - /* 114 */ "Reserved krb5 error (114)", - /* 115 */ "Reserved krb5 error (115)", - /* 116 */ "Reserved krb5 error (116)", - /* 117 */ "Reserved krb5 error (117)", - /* 118 */ "Reserved krb5 error (118)", - /* 119 */ "Reserved krb5 error (119)", - /* 120 */ "Reserved krb5 error (120)", - /* 121 */ "Reserved krb5 error (121)", - /* 122 */ "Reserved krb5 error (122)", - /* 123 */ "Reserved krb5 error (123)", - /* 124 */ "Reserved krb5 error (124)", - /* 125 */ "Reserved krb5 error (125)", - /* 126 */ "Reserved krb5 error (126)", - /* 127 */ "Reserved krb5 error (127)", - /* 128 */ "$Id: krb5_err.et,v 1.14 2006/02/13 11:28:22 lha Exp $", - /* 129 */ "Invalid flag for file lock mode", - /* 130 */ "Cannot read password", - /* 131 */ "Password mismatch", - /* 132 */ "Password read interrupted", - /* 133 */ "Invalid character in component name", - /* 134 */ "Malformed representation of principal", - /* 135 */ "Can't open/find configuration file", - /* 136 */ "Improper format of configuration file", - /* 137 */ "Insufficient space to return complete information", - /* 138 */ "Invalid message type specified for encoding", - /* 139 */ "Credential cache name malformed", - /* 140 */ "Unknown credential cache type", - /* 141 */ "Matching credential not found", - /* 142 */ "End of credential cache reached", - /* 143 */ "Request did not supply a ticket", - /* 144 */ "Wrong principal in request", - /* 145 */ "Ticket has invalid flag set", - /* 146 */ "Requested principal and ticket don't match", - /* 147 */ "KDC reply did not match expectations", - /* 148 */ "Clock skew too great in KDC reply", - /* 149 */ "Client/server realm mismatch in initial ticket request", - /* 150 */ "Program lacks support for encryption type", - /* 151 */ "Program lacks support for key type", - /* 152 */ "Requested encryption type not used in message", - /* 153 */ "Program lacks support for checksum type", - /* 154 */ "Cannot find KDC for requested realm", - /* 155 */ "Kerberos service unknown", - /* 156 */ "Cannot contact any KDC for requested realm", - /* 157 */ "No local name found for principal name", - /* 158 */ "Mutual authentication failed", - /* 159 */ "Replay cache type is already registered", - /* 160 */ "No more memory to allocate (in replay cache code)", - /* 161 */ "Replay cache type is unknown", - /* 162 */ "Generic unknown RC error", - /* 163 */ "Message is a replay", - /* 164 */ "Replay I/O operation failed XXX", - /* 165 */ "Replay cache type does not support non-volatile storage", - /* 166 */ "Replay cache name parse/format error", - /* 167 */ "End-of-file on replay cache I/O", - /* 168 */ "No more memory to allocate (in replay cache I/O code)", - /* 169 */ "Permission denied in replay cache code", - /* 170 */ "I/O error in replay cache i/o code", - /* 171 */ "Generic unknown RC/IO error", - /* 172 */ "Insufficient system space to store replay information", - /* 173 */ "Can't open/find realm translation file", - /* 174 */ "Improper format of realm translation file", - /* 175 */ "Can't open/find lname translation database", - /* 176 */ "No translation available for requested principal", - /* 177 */ "Improper format of translation database entry", - /* 178 */ "Cryptosystem internal error", - /* 179 */ "Key table name malformed", - /* 180 */ "Unknown Key table type", - /* 181 */ "Key table entry not found", - /* 182 */ "End of key table reached", - /* 183 */ "Cannot write to specified key table", - /* 184 */ "Error writing to key table", - /* 185 */ "Cannot find ticket for requested realm", - /* 186 */ "DES key has bad parity", - /* 187 */ "DES key is a weak key", - /* 188 */ "Bad encryption type", - /* 189 */ "Key size is incompatible with encryption type", - /* 190 */ "Message size is incompatible with encryption type", - /* 191 */ "Credentials cache type is already registered.", - /* 192 */ "Key table type is already registered.", - /* 193 */ "Credentials cache I/O operation failed XXX", - /* 194 */ "Credentials cache file permissions incorrect", - /* 195 */ "No credentials cache file found", - /* 196 */ "Internal file credentials cache error", - /* 197 */ "Error writing to credentials cache file", - /* 198 */ "No more memory to allocate (in credentials cache code)", - /* 199 */ "Bad format in credentials cache", - /* 200 */ "No credentials found with supported encryption types", - /* 201 */ "Invalid KDC option combination (library internal error)", - /* 202 */ "Request missing second ticket", - /* 203 */ "No credentials supplied to library routine", - /* 204 */ "Bad sendauth version was sent", - /* 205 */ "Bad application version was sent (via sendauth)", - /* 206 */ "Bad response (during sendauth exchange)", - /* 207 */ "Server rejected authentication (during sendauth exchange)", - /* 208 */ "Unsupported preauthentication type", - /* 209 */ "Required preauthentication key not supplied", - /* 210 */ "Generic preauthentication failure", - /* 211 */ "Unsupported replay cache format version number", - /* 212 */ "Unsupported credentials cache format version number", - /* 213 */ "Unsupported key table format version number", - /* 214 */ "Program lacks support for address type", - /* 215 */ "Message replay detection requires rcache parameter", - /* 216 */ "Hostname cannot be canonicalized", - /* 217 */ "Cannot determine realm for host", - /* 218 */ "Conversion to service principal undefined for name type", - /* 219 */ "Initial Ticket response appears to be Version 4", - /* 220 */ "Cannot resolve KDC for requested realm", - /* 221 */ "Requesting ticket can't get forwardable tickets", - /* 222 */ "Bad principal name while trying to forward credentials", - /* 223 */ "Looping detected inside krb5_get_in_tkt", - /* 224 */ "Configuration file does not specify default realm", - /* 225 */ "Bad SAM flags in obtain_sam_padata", - /* 226 */ "Invalid encryption type in SAM challenge", - /* 227 */ "Missing checksum in SAM challenge", - /* 228 */ "Bad checksum in SAM challenge", - /* 229 */ "Reserved krb5 error (229)", - /* 230 */ "Reserved krb5 error (230)", - /* 231 */ "Reserved krb5 error (231)", - /* 232 */ "Reserved krb5 error (232)", - /* 233 */ "Reserved krb5 error (233)", - /* 234 */ "Reserved krb5 error (234)", - /* 235 */ "Reserved krb5 error (235)", - /* 236 */ "Reserved krb5 error (236)", - /* 237 */ "Reserved krb5 error (237)", - /* 238 */ "Program called an obsolete, deleted function", - /* 239 */ "Reserved krb5 error (239)", - /* 240 */ "Reserved krb5 error (240)", - /* 241 */ "Reserved krb5 error (241)", - /* 242 */ "Reserved krb5 error (242)", - /* 243 */ "Reserved krb5 error (243)", - /* 244 */ "Reserved krb5 error (244)", - /* 245 */ "Invalid key generation parameters from KDC", - /* 246 */ "Service not available", - /* 247 */ "Credential cache function not supported", - /* 248 */ "Invalid format of Kerberos lifetime or clock skew string", - NULL -}; - -#define num_errors 249 - -void initialize_krb5_error_table_r(struct et_list **list) -{ - initialize_error_table_r(list, krb5_error_strings, num_errors, ERROR_TABLE_BASE_krb5); -} - -void initialize_krb5_error_table(void) -{ - init_error_table(krb5_error_strings, ERROR_TABLE_BASE_krb5, num_errors); -} |