2 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
6 #pragma ident "%Z%%M% %I% %E% SMI"
10 ovk_error_table(long errorno
) {
14 return(dgettext(TEXT_DOMAIN
,
15 "Operation failed for unspecified reason"));
17 return(dgettext(TEXT_DOMAIN
,
18 "Operation requires ``get'' privilege"));
20 return(dgettext(TEXT_DOMAIN
,
21 "Operation requires ``add'' privilege"));
23 return(dgettext(TEXT_DOMAIN
,
24 "Operation requires ``modify'' privilege"));
26 return(dgettext(TEXT_DOMAIN
,
27 "Operation requires ``delete'' privilege"));
29 return(dgettext(TEXT_DOMAIN
,
30 "Insufficient authorization for operation"));
32 return(dgettext(TEXT_DOMAIN
,
33 "Database inconsistency detected"));
35 return(dgettext(TEXT_DOMAIN
,
36 "Principal or policy already exists"));
38 return(dgettext(TEXT_DOMAIN
,
39 "Communication failure with server"));
41 return(dgettext(TEXT_DOMAIN
,
42 "No administration server found for realm"));
44 return(dgettext(TEXT_DOMAIN
,
45 "Password history principal key version mismatch"));
47 return(dgettext(TEXT_DOMAIN
,
48 "Connection to server not initialized"));
50 return(dgettext(TEXT_DOMAIN
,
51 "Principal does not exist"));
53 return(dgettext(TEXT_DOMAIN
,
54 "Policy does not exist"));
56 return(dgettext(TEXT_DOMAIN
,
57 "Invalid field mask for operation"));
59 return(dgettext(TEXT_DOMAIN
,
60 "Invalid number of character classes"));
62 return(dgettext(TEXT_DOMAIN
,
63 "Invalid password length"));
65 return(dgettext(TEXT_DOMAIN
,
66 "Illegal policy name"));
68 return(dgettext(TEXT_DOMAIN
,
69 "Illegal principal name"));
71 return(dgettext(TEXT_DOMAIN
,
72 "Invalid auxillary attributes"));
74 return(dgettext(TEXT_DOMAIN
,
75 "Invalid password history count"));
77 return(dgettext(TEXT_DOMAIN
,
78 "Password minimum life is greater than password maximum life"));
80 return(dgettext(TEXT_DOMAIN
,
81 "Password is too short"));
83 return(dgettext(TEXT_DOMAIN
,
84 "Password does not contain enough character classes"));
86 return(dgettext(TEXT_DOMAIN
,
87 "Password is in the password dictionary"));
89 return(dgettext(TEXT_DOMAIN
,
90 "Cannot reuse password"));
92 return(dgettext(TEXT_DOMAIN
,
93 "Current password's minimum life has not expired"));
95 return(dgettext(TEXT_DOMAIN
,
98 return(dgettext(TEXT_DOMAIN
,
99 "Connection to server already initialized"));
101 return(dgettext(TEXT_DOMAIN
,
102 "Incorrect password"));
104 return(dgettext(TEXT_DOMAIN
,
105 "Cannot change protected principal"));
107 return(dgettext(TEXT_DOMAIN
,
108 "Programmer error! Bad Admin server handle"));
110 return(dgettext(TEXT_DOMAIN
,
111 "Programmer error! Bad API structure version"));
113 return(dgettext(TEXT_DOMAIN
,
114 "API structure version specified by application is no longer supported (to fix, recompile application against current KADM5 API header files and libraries)"));
116 return(dgettext(TEXT_DOMAIN
,
117 "API structure version specified by application is unknown to libraries (to fix, obtain current KADM5 API header files and libraries and recompile application)"));
119 return(dgettext(TEXT_DOMAIN
,
120 "Programmer error! Bad API version"));
122 return(dgettext(TEXT_DOMAIN
,
123 "API version specified by application is no longer supported by libraries (to fix, update application to adhere to current API version and recompile)"));
125 return(dgettext(TEXT_DOMAIN
,
126 "API version specified by application is no longer supported by server (to fix, update application to adhere to current API version and recompile)"));
128 return(dgettext(TEXT_DOMAIN
,
129 "API version specified by application is unknown to libraries (to fix, obtain current KADM5 API header files and libraries and recompile application)"));
131 return(dgettext(TEXT_DOMAIN
,
132 "API version specified by application is unknown to server (to fix, obtain and install newest KADM5 Admin Server)"));
134 return(dgettext(TEXT_DOMAIN
,
135 "Database error! Required KADM5 principal missing"));
137 return(dgettext(TEXT_DOMAIN
,
138 "The salt type of the specified principal does not support renaming"));
140 return(dgettext(TEXT_DOMAIN
,
141 "Illegal configuration parameter for remote KADM5 client"));
143 return(dgettext(TEXT_DOMAIN
,
144 "Illegal configuration parameter for local KADM5 client"));
146 return(dgettext(TEXT_DOMAIN
,
147 "Operation requires ``list'' privilege"));
149 return(dgettext(TEXT_DOMAIN
,
150 "Operation requires ``change-password'' privilege"));
152 return(dgettext(TEXT_DOMAIN
,
153 "GSS-API (or Kerberos) error"));
155 return(dgettext(TEXT_DOMAIN
,
156 "Programmer error! Illegal tagged data list type"));
158 return(dgettext(TEXT_DOMAIN
,
159 "Required parameters in kdc.conf missing"));
161 return(dgettext(TEXT_DOMAIN
,
162 "Bad krb5 admin server hostname"));
164 return(dgettext(TEXT_DOMAIN
,
165 "Operation requires ``set-key'' privilege"));
167 return(dgettext(TEXT_DOMAIN
,
168 "Multiple values for single or folded enctype"));
170 return(dgettext(TEXT_DOMAIN
,
171 "Invalid enctype for setv4key"));
173 return(dgettext(TEXT_DOMAIN
,
174 "Mismatched enctypes for setkey3"));
176 return(dgettext(TEXT_DOMAIN
,
177 " RPC client cannot encode arguments."));
179 return(dgettext(TEXT_DOMAIN
,
180 " RPC server cannot decode arguments."));
182 return("unknown error");