2 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
6 #pragma ident "%Z%%M% %I% %E% SMI"
10 kdb5_error_table(long errorno
) {
15 "$Id: kdb5_err.et,v 5.18 1995/11/03 21:52:42 eichin Exp $");
17 return(dgettext(TEXT_DOMAIN
,
18 "Entry already exists in database"));
20 return(dgettext(TEXT_DOMAIN
,
21 "Database store error"));
23 return(dgettext(TEXT_DOMAIN
,
24 "Database read error"));
26 return(dgettext(TEXT_DOMAIN
,
27 "Insufficient access to perform requested operation"));
29 return(dgettext(TEXT_DOMAIN
,
30 "No such entry in the database"));
32 return(dgettext(TEXT_DOMAIN
,
33 "Illegal use of wildcard"));
35 return(dgettext(TEXT_DOMAIN
,
36 "Database is locked or in use--try again later"));
38 return(dgettext(TEXT_DOMAIN
,
39 "Database was modified during read"));
41 return(dgettext(TEXT_DOMAIN
,
42 "Database record is incomplete or corrupted"));
44 return(dgettext(TEXT_DOMAIN
,
45 "Attempt to lock database twice"));
47 return(dgettext(TEXT_DOMAIN
,
48 "Attempt to unlock database when not locked"));
50 return(dgettext(TEXT_DOMAIN
,
51 "Invalid kdb lock mode"));
53 return(dgettext(TEXT_DOMAIN
,
54 "Database has not been initialized"));
56 return(dgettext(TEXT_DOMAIN
,
57 "Database has already been initialized"));
59 return(dgettext(TEXT_DOMAIN
,
60 "Bad direction for converting keys"));
62 return(dgettext(TEXT_DOMAIN
,
63 "Cannot find master key record in database"));
65 return(dgettext(TEXT_DOMAIN
,
66 "Master key does not match database"));
68 return(dgettext(TEXT_DOMAIN
,
69 "Key size in database is invalid"));
71 return(dgettext(TEXT_DOMAIN
,
72 "Cannot find/read stored master key"));
74 return(dgettext(TEXT_DOMAIN
,
75 "Stored master key is corrupted"));
77 return(dgettext(TEXT_DOMAIN
,
78 "Insufficient access to lock database"));
80 return(dgettext(TEXT_DOMAIN
,
81 "Database format error"));
83 return(dgettext(TEXT_DOMAIN
,
84 "Unsupported version in database entry"));
86 return(dgettext(TEXT_DOMAIN
,
87 "Unsupported salt type"));
89 return(dgettext(TEXT_DOMAIN
,
90 "Unsupported encryption type"));
92 return(dgettext(TEXT_DOMAIN
,
93 "Bad database creation flags"));
94 case 27: /* KRB5_KDB_NO_PERMITTED_KEY */
95 return(dgettext(TEXT_DOMAIN
,
96 "No matching key in entry having a permitted enctype"));
97 case 28: /* KRB5_KDB_NO_MATCHING_KEY */
98 return(dgettext(TEXT_DOMAIN
,
99 "No matching key in entry"));
100 case 29: /* KRB5_LOG_CONV */
101 return(dgettext(TEXT_DOMAIN
, "Update log conversion error"));
102 case 30: /* KRB5_LOG_UNSTABLE */
103 return(dgettext(TEXT_DOMAIN
, "Update log is unstable"));
104 case 31: /* KRB5_LOG_CORRUPT */
105 return(dgettext(TEXT_DOMAIN
, "Update log is corrupt"));
106 case 32: /* KRB5_LOG_ERROR */
107 return(dgettext(TEXT_DOMAIN
, "Generic update log error"));
108 case 33: /* KRB5_KDB_DBTYPE_NOTFOUND */
109 return(dgettext(TEXT_DOMAIN
,
110 "Unable to find requested database type"));
111 case 34: /* KRB5_KDB_DBTYPE_NOSUP */
112 return(dgettext(TEXT_DOMAIN
, "Database type not supported"));
113 case 35: /* KRB5_KDB_DBTYPE_INIT */
114 return(dgettext(TEXT_DOMAIN
,
115 "Database library failed to initialize"));
116 case 36: /* KRB5_KDB_SERVER_INTERNAL_ERR */
117 return(dgettext(TEXT_DOMAIN
, "Server error"));
118 case 37: /* KRB5_KDB_ACCESS_ERROR */
119 return(dgettext(TEXT_DOMAIN
,
120 "Unable to access Kerberos database"));
121 case 38: /* KRB5_KDB_INTERNAL_ERROR */
122 return(dgettext(TEXT_DOMAIN
,
123 "Kerberos database internal error"));
124 case 39: /* KRB5_KDB_CONSTRAINT_VIOLATION */
125 return(dgettext(TEXT_DOMAIN
,
126 "Kerberos database constraints violated"));
128 return("unknown error");