LCOV - code coverage report
Current view: top level - bin/default/third_party/heimdal/lib/krb5 - krb5_err.c (source / functions) Hit Total Coverage
Test: coverage report for master 2f515e9b Lines: 6 6 100.0 %
Date: 2024-04-21 15:09:00 Functions: 2 2 100.0 %

          Line data    Source code
       1             : #include "config.h"
       2             : /* Generated from /builds/eaglegai/samba/third_party/heimdal/lib/krb5/krb5_err.et */
       3             : /* $Id$ */
       4             : 
       5             : #include <stddef.h>
       6             : #include <com_err.h>
       7             : #include "krb5_err.h"
       8             : 
       9             : #define N_(x) (x)
      10             : 
      11             : static const char *const krb5_error_strings[] = {
      12             :         /* 000 */ N_("No error"),
      13             :         /* 001 */ N_("Client's entry in database has expired"),
      14             :         /* 002 */ N_("Server's entry in database has expired"),
      15             :         /* 003 */ N_("Requested protocol version not supported"),
      16             :         /* 004 */ N_("Client's key is encrypted in an old master key"),
      17             :         /* 005 */ N_("Server's key is encrypted in an old master key"),
      18             :         /* 006 */ N_("Client not found in Kerberos database"),
      19             :         /* 007 */ N_("Server not found in Kerberos database"),
      20             :         /* 008 */ N_("Principal has multiple entries in Kerberos database"),
      21             :         /* 009 */ N_("Client or server has a null key"),
      22             :         /* 010 */ N_("Ticket is ineligible for postdating"),
      23             :         /* 011 */ N_("Requested effective lifetime is negative or too short"),
      24             :         /* 012 */ N_("KDC policy rejects request"),
      25             :         /* 013 */ N_("KDC can't fulfill requested option"),
      26             :         /* 014 */ N_("KDC has no support for encryption type"),
      27             :         /* 015 */ N_("KDC has no support for checksum type"),
      28             :         /* 016 */ N_("KDC has no support for padata type"),
      29             :         /* 017 */ N_("KDC has no support for transited type"),
      30             :         /* 018 */ N_("Clients credentials have been revoked"),
      31             :         /* 019 */ N_("Credentials for server have been revoked"),
      32             :         /* 020 */ N_("TGT has been revoked"),
      33             :         /* 021 */ N_("Client not yet valid - try again later"),
      34             :         /* 022 */ N_("Server not yet valid - try again later"),
      35             :         /* 023 */ N_("Password has expired"),
      36             :         /* 024 */ N_("Preauthentication failed"),
      37             :         /* 025 */ N_("Additional pre-authentication required"),
      38             :         /* 026 */ N_("Requested server and ticket don't match"),
      39             :         /* 027 */ N_("Server principal valid for user2user only"),
      40             :         /* 028 */ N_("KDC Policy rejects transited path"),
      41             :         /* 029 */ N_("A service is not available"),
      42             :         /* 030 */ "Reserved krb5 error (30)",
      43             :         /* 031 */ N_("Decrypt integrity check failed"),
      44             :         /* 032 */ N_("Ticket expired"),
      45             :         /* 033 */ N_("Ticket not yet valid"),
      46             :         /* 034 */ N_("Request is a replay"),
      47             :         /* 035 */ N_("The ticket isn't for us"),
      48             :         /* 036 */ N_("Ticket/authenticator don't match"),
      49             :         /* 037 */ N_("Clock skew too great"),
      50             :         /* 038 */ N_("Incorrect net address"),
      51             :         /* 039 */ N_("Protocol version mismatch"),
      52             :         /* 040 */ N_("Invalid message type"),
      53             :         /* 041 */ N_("Message stream modified"),
      54             :         /* 042 */ N_("Message out of order"),
      55             :         /* 043 */ N_("Invalid cross-realm ticket"),
      56             :         /* 044 */ N_("Key version is not available"),
      57             :         /* 045 */ N_("Service key not available"),
      58             :         /* 046 */ N_("Mutual authentication failed"),
      59             :         /* 047 */ N_("Incorrect message direction"),
      60             :         /* 048 */ N_("Alternative authentication method required"),
      61             :         /* 049 */ N_("Incorrect sequence number in message"),
      62             :         /* 050 */ N_("Inappropriate type of checksum in message"),
      63             :         /* 051 */ N_("Policy rejects transited path"),
      64             :         /* 052 */ N_("Response too big for UDP, retry with TCP"),
      65             :         /* 053 */ "Reserved krb5 error (53)",
      66             :         /* 054 */ "Reserved krb5 error (54)",
      67             :         /* 055 */ "Reserved krb5 error (55)",
      68             :         /* 056 */ "Reserved krb5 error (56)",
      69             :         /* 057 */ "Reserved krb5 error (57)",
      70             :         /* 058 */ "Reserved krb5 error (58)",
      71             :         /* 059 */ "Reserved krb5 error (59)",
      72             :         /* 060 */ N_("Generic error (see e-text)"),
      73             :         /* 061 */ N_("Field is too long for this implementation"),
      74             :         /* 062 */ N_("Client not trusted"),
      75             :         /* 063 */ N_("KDC not trusted"),
      76             :         /* 064 */ N_("Invalid signature"),
      77             :         /* 065 */ N_("DH parameters not accepted"),
      78             :         /* 066 */ "Reserved krb5 error (66)",
      79             :         /* 067 */ "Reserved krb5 error (67)",
      80             :         /* 068 */ N_("Wrong realm"),
      81             :         /* 069 */ N_("User to user required"),
      82             :         /* 070 */ N_("Cannot verify certificate"),
      83             :         /* 071 */ N_("Certificate invalid"),
      84             :         /* 072 */ N_("Certificate revoked"),
      85             :         /* 073 */ N_("Revocation status unknown"),
      86             :         /* 074 */ N_("Revocation status unavailable"),
      87             :         /* 075 */ N_("Client name mismatch in certificate"),
      88             :         /* 076 */ N_("Inconsistent key purpose"),
      89             :         /* 077 */ N_("Digest in certificate not accepted"),
      90             :         /* 078 */ N_("paChecksum must be included"),
      91             :         /* 079 */ N_("Digest in signedData not accepted"),
      92             :         /* 080 */ N_("Public key encryption not supported"),
      93             :         /* 081 */ "Reserved krb5 error (81)",
      94             :         /* 082 */ "Reserved krb5 error (82)",
      95             :         /* 083 */ "Reserved krb5 error (83)",
      96             :         /* 084 */ "Reserved krb5 error (84)",
      97             :         /* 085 */ "Reserved krb5 error (85)",
      98             :         /* 086 */ "Reserved krb5 error (86)",
      99             :         /* 087 */ "Reserved krb5 error (87)",
     100             :         /* 088 */ "Reserved krb5 error (88)",
     101             :         /* 089 */ "Reserved krb5 error (89)",
     102             :         /* 090 */ N_("Pre-authentication data expired"),
     103             :         /* 091 */ N_("More pre-authentication data required"),
     104             :         /* 092 */ "Reserved krb5 error (92)",
     105             :         /* 093 */ N_("Unknown critical FAST options"),
     106             :         /* 094 */ N_("Invalid OTP digest algorithm"),
     107             :         /* 095 */ N_("Invalid OTP iteration count"),
     108             :         /* 096 */ "Reserved krb5 error (96)",
     109             :         /* 097 */ "Reserved krb5 error (97)",
     110             :         /* 098 */ "Reserved krb5 error (98)",
     111             :         /* 099 */ "Reserved krb5 error (99)",
     112             :         /* 100 */ N_("No acceptable KDF offered"),
     113             :         /* 101 */ "Reserved krb5 error (101)",
     114             :         /* 102 */ "Reserved krb5 error (102)",
     115             :         /* 103 */ "Reserved krb5 error (103)",
     116             :         /* 104 */ "Reserved krb5 error (104)",
     117             :         /* 105 */ "Reserved krb5 error (105)",
     118             :         /* 106 */ "Reserved krb5 error (106)",
     119             :         /* 107 */ "Reserved krb5 error (107)",
     120             :         /* 108 */ "Reserved krb5 error (108)",
     121             :         /* 109 */ "Reserved krb5 error (109)",
     122             :         /* 110 */ "Reserved krb5 error (110)",
     123             :         /* 111 */ "Reserved krb5 error (111)",
     124             :         /* 112 */ "Reserved krb5 error (112)",
     125             :         /* 113 */ "Reserved krb5 error (113)",
     126             :         /* 114 */ "Reserved krb5 error (114)",
     127             :         /* 115 */ "Reserved krb5 error (115)",
     128             :         /* 116 */ "Reserved krb5 error (116)",
     129             :         /* 117 */ "Reserved krb5 error (117)",
     130             :         /* 118 */ "Reserved krb5 error (118)",
     131             :         /* 119 */ "Reserved krb5 error (119)",
     132             :         /* 120 */ "Reserved krb5 error (120)",
     133             :         /* 121 */ "Reserved krb5 error (121)",
     134             :         /* 122 */ "Reserved krb5 error (122)",
     135             :         /* 123 */ "Reserved krb5 error (123)",
     136             :         /* 124 */ "Reserved krb5 error (124)",
     137             :         /* 125 */ "Reserved krb5 error (125)",
     138             :         /* 126 */ "Reserved krb5 error (126)",
     139             :         /* 127 */ "Reserved krb5 error (127)",
     140             :         /* 128 */ N_("$Id$"),
     141             :         /* 129 */ N_("Invalid flag for file lock mode"),
     142             :         /* 130 */ N_("Cannot read password"),
     143             :         /* 131 */ N_("Password mismatch"),
     144             :         /* 132 */ N_("Password read interrupted"),
     145             :         /* 133 */ N_("Invalid character in component name"),
     146             :         /* 134 */ N_("Malformed representation of principal"),
     147             :         /* 135 */ N_("Can't open/find configuration file"),
     148             :         /* 136 */ N_("Improper format of configuration file"),
     149             :         /* 137 */ N_("Insufficient space to return complete information"),
     150             :         /* 138 */ N_("Invalid message type specified for encoding"),
     151             :         /* 139 */ N_("Credential cache name malformed"),
     152             :         /* 140 */ N_("Unknown credential cache type"),
     153             :         /* 141 */ N_("Matching credential not found"),
     154             :         /* 142 */ N_("End of credential cache reached"),
     155             :         /* 143 */ N_("Request did not supply a ticket"),
     156             :         /* 144 */ N_("Wrong principal in request"),
     157             :         /* 145 */ N_("Ticket has invalid flag set"),
     158             :         /* 146 */ N_("Requested principal and ticket don't match"),
     159             :         /* 147 */ N_("KDC reply did not match expectations"),
     160             :         /* 148 */ N_("Clock skew too great in KDC reply"),
     161             :         /* 149 */ N_("Client/server realm mismatch in initial ticket request"),
     162             :         /* 150 */ N_("Program lacks support for encryption type"),
     163             :         /* 151 */ N_("Program lacks support for key type"),
     164             :         /* 152 */ N_("Requested encryption type not used in message"),
     165             :         /* 153 */ N_("Program lacks support for checksum type"),
     166             :         /* 154 */ N_("Cannot find KDC for requested realm"),
     167             :         /* 155 */ N_("Kerberos service unknown"),
     168             :         /* 156 */ N_("Cannot contact any KDC for requested realm"),
     169             :         /* 157 */ N_("No local name found for principal name"),
     170             :         /* 158 */ N_("Mutual authentication failed"),
     171             :         /* 159 */ N_("Replay cache type is already registered"),
     172             :         /* 160 */ N_("No more memory to allocate (in replay cache code)"),
     173             :         /* 161 */ N_("Replay cache type is unknown"),
     174             :         /* 162 */ N_("Generic unknown RC error"),
     175             :         /* 163 */ N_("Message is a replay"),
     176             :         /* 164 */ N_("Replay I/O operation failed XXX"),
     177             :         /* 165 */ N_("Replay cache type does not support non-volatile storage"),
     178             :         /* 166 */ N_("Replay cache name parse/format error"),
     179             :         /* 167 */ N_("End-of-file on replay cache I/O"),
     180             :         /* 168 */ N_("No more memory to allocate (in replay cache I/O code)"),
     181             :         /* 169 */ N_("Permission denied in replay cache code"),
     182             :         /* 170 */ N_("I/O error in replay cache i/o code"),
     183             :         /* 171 */ N_("Generic unknown RC/IO error"),
     184             :         /* 172 */ N_("Insufficient system space to store replay information"),
     185             :         /* 173 */ N_("Can't open/find realm translation file"),
     186             :         /* 174 */ N_("Improper format of realm translation file"),
     187             :         /* 175 */ N_("Can't open/find lname translation database"),
     188             :         /* 176 */ N_("No translation available for requested principal"),
     189             :         /* 177 */ N_("Improper format of translation database entry"),
     190             :         /* 178 */ N_("Cryptosystem internal error"),
     191             :         /* 179 */ N_("Key table name malformed"),
     192             :         /* 180 */ N_("Unknown Key table type"),
     193             :         /* 181 */ N_("Key table entry not found"),
     194             :         /* 182 */ N_("End of key table reached"),
     195             :         /* 183 */ N_("Cannot write to specified key table"),
     196             :         /* 184 */ N_("Error writing to key table"),
     197             :         /* 185 */ N_("Cannot find ticket for requested realm"),
     198             :         /* 186 */ N_("DES key has bad parity"),
     199             :         /* 187 */ N_("DES key is a weak key"),
     200             :         /* 188 */ N_("Bad encryption type"),
     201             :         /* 189 */ N_("Key size is incompatible with encryption type"),
     202             :         /* 190 */ N_("Message size is incompatible with encryption type"),
     203             :         /* 191 */ N_("Credentials cache type is already registered."),
     204             :         /* 192 */ N_("Key table type is already registered."),
     205             :         /* 193 */ N_("Credentials cache I/O operation failed XXX"),
     206             :         /* 194 */ N_("Credentials cache file permissions incorrect"),
     207             :         /* 195 */ N_("No credentials cache file found"),
     208             :         /* 196 */ N_("Internal file credentials cache error"),
     209             :         /* 197 */ N_("Error writing to credentials cache file"),
     210             :         /* 198 */ N_("No more memory to allocate (in credentials cache code)"),
     211             :         /* 199 */ N_("Bad format in credentials cache"),
     212             :         /* 200 */ N_("No credentials found with supported encryption types"),
     213             :         /* 201 */ N_("Invalid KDC option combination (library internal error)"),
     214             :         /* 202 */ N_("Request missing second ticket"),
     215             :         /* 203 */ N_("No credentials supplied to library routine"),
     216             :         /* 204 */ N_("Bad sendauth version was sent"),
     217             :         /* 205 */ N_("Bad application version was sent (via sendauth)"),
     218             :         /* 206 */ N_("Bad response (during sendauth exchange)"),
     219             :         /* 207 */ N_("Server rejected authentication (during sendauth exchange)"),
     220             :         /* 208 */ N_("Unsupported preauthentication type"),
     221             :         /* 209 */ N_("Required preauthentication key not supplied"),
     222             :         /* 210 */ N_("Generic preauthentication failure"),
     223             :         /* 211 */ N_("Unsupported replay cache format version number"),
     224             :         /* 212 */ N_("Unsupported credentials cache format version number"),
     225             :         /* 213 */ N_("Unsupported key table format version number"),
     226             :         /* 214 */ N_("Program lacks support for address type"),
     227             :         /* 215 */ N_("Message replay detection requires rcache parameter"),
     228             :         /* 216 */ N_("Hostname cannot be canonicalized"),
     229             :         /* 217 */ N_("Cannot determine realm for host"),
     230             :         /* 218 */ N_("Conversion to service principal undefined for name type"),
     231             :         /* 219 */ N_("Initial Ticket response appears to be Version 4"),
     232             :         /* 220 */ N_("Cannot resolve KDC for requested realm"),
     233             :         /* 221 */ N_("Requesting ticket can't get forwardable tickets"),
     234             :         /* 222 */ N_("Bad principal name while trying to forward credentials"),
     235             :         /* 223 */ N_("Looping detected inside krb5_get_in_tkt"),
     236             :         /* 224 */ N_("Configuration file does not specify default realm"),
     237             :         /* 225 */ N_("Bad SAM flags in obtain_sam_padata"),
     238             :         /* 226 */ N_("Invalid encryption type in SAM challenge"),
     239             :         /* 227 */ N_("Missing checksum in SAM challenge"),
     240             :         /* 228 */ N_("Bad checksum in SAM challenge"),
     241             :         /* 229 */ N_("Keytab name too long"),
     242             :         /* 230 */ N_("Key version number for principal in key table is incorrect"),
     243             :         /* 231 */ N_("This application has expired"),
     244             :         /* 232 */ N_("This Krb5 library has expired"),
     245             :         /* 233 */ N_("New password cannot be zero length"),
     246             :         /* 234 */ N_("Password change failed"),
     247             :         /* 235 */ N_("Bad format in keytab"),
     248             :         /* 236 */ N_("Encryption type not permitted"),
     249             :         /* 237 */ N_("No supported encryption types (config file error?)"),
     250             :         /* 238 */ N_("Program called an obsolete, deleted function"),
     251             :         /* 239 */ N_("unknown getaddrinfo failure"),
     252             :         /* 240 */ N_("no data available for host/domain name"),
     253             :         /* 241 */ N_("host/domain name not found"),
     254             :         /* 242 */ N_("service name unknown"),
     255             :         /* 243 */ N_("Cannot determine realm for numeric host address"),
     256             :         /* 244 */ N_("Invalid key generation parameters from KDC"),
     257             :         /* 245 */ N_("Service not available"),
     258             :         /* 246 */ "Reserved krb5 error (246)",
     259             :         /* 247 */ N_("Credential cache function not supported"),
     260             :         /* 248 */ N_("Invalid format of Kerberos lifetime or clock skew string"),
     261             :         /* 249 */ N_("Supplied data not handled by this plugin"),
     262             :         /* 250 */ N_("Plugin does not support the operaton"),
     263             :         /* 251 */ N_("Invalid UTF-8 string"),
     264             :         /* 252 */ N_("FAST protected pre-authentication required but not supported by KDC"),
     265             :         /* 253 */ N_("Auth context must contain local address"),
     266             :         /* 254 */ N_("Auth context must contain remote address"),
     267             :         /* 255 */ N_("Tracing unsupported"),
     268             :         NULL
     269             : };
     270             : 
     271             : #define num_errors 256
     272             : 
     273      792004 : void initialize_krb5_error_table_r(struct et_list **list)
     274             : {
     275      792004 :     initialize_error_table_r(list, krb5_error_strings, num_errors, ERROR_TABLE_BASE_krb5);
     276      792004 : }
     277             : 
     278      597994 : void initialize_krb5_error_table(void)
     279             : {
     280      597994 :     init_error_table(krb5_error_strings, ERROR_TABLE_BASE_krb5, num_errors);
     281      597994 : }

Generated by: LCOV version 1.14