xref: /freebsd/crypto/krb5/src/lib/kadm5/kadm_err.et (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1# This is the KADM5 error table.  The order of error codes
2# defined in this file MUST match that specified in the API
3# functionality specification, which is the master version.
4#
5error_table ovk
6# vv 0
7error_code KADM5_FAILURE, "Operation failed for unspecified reason"
8error_code KADM5_AUTH_GET, "Operation requires ``get'' privilege"
9error_code KADM5_AUTH_ADD, "Operation requires ``add'' privilege"
10error_code KADM5_AUTH_MODIFY, "Operation requires ``modify'' privilege"
11error_code KADM5_AUTH_DELETE, "Operation requires ``delete'' privilege"
12error_code KADM5_AUTH_INSUFFICIENT, "Insufficient authorization for operation"
13error_code KADM5_BAD_DB, "Database inconsistency detected"
14error_code KADM5_DUP, "Principal or policy already exists"
15error_code KADM5_RPC_ERROR, "Communication failure with server"
16error_code KADM5_NO_SRV, "No administration server found for realm"
17error_code KADM5_BAD_HIST_KEY, "Password history principal key version mismatch"
18error_code KADM5_NOT_INIT, "Connection to server not initialized"
19error_code KADM5_UNK_PRINC, "Principal does not exist"
20error_code KADM5_UNK_POLICY, "Policy does not exist"
21error_code KADM5_BAD_MASK, "Invalid field mask for operation"
22error_code KADM5_BAD_CLASS, "Invalid number of character classes"
23error_code KADM5_BAD_LENGTH, "Invalid password length"
24error_code KADM5_BAD_POLICY, "Illegal policy name"
25error_code KADM5_BAD_PRINCIPAL, "Illegal principal name"
26error_code KADM5_BAD_AUX_ATTR, "Invalid auxiliary attributes"
27error_code KADM5_BAD_HISTORY, "Invalid password history count"
28error_code KADM5_BAD_MIN_PASS_LIFE, "Password minimum life is greater than password maximum life"
29error_code KADM5_PASS_Q_TOOSHORT, "Password is too short"
30error_code KADM5_PASS_Q_CLASS, "Password does not contain enough character classes"
31error_code KADM5_PASS_Q_DICT, "Password is in the password dictionary"
32error_code KADM5_PASS_REUSE, "Cannot reuse password"
33error_code KADM5_PASS_TOOSOON, "Current password's minimum life has not expired"
34error_code KADM5_POLICY_REF, "Policy is in use"
35error_code KADM5_INIT,	"Connection to server already initialized"
36error_code KADM5_BAD_PASSWORD, "Incorrect password"
37error_code KADM5_PROTECT_PRINCIPAL, "Cannot change protected principal"
38error_code KADM5_BAD_SERVER_HANDLE, "Programmer error!  Bad Admin server handle"
39error_code KADM5_BAD_STRUCT_VERSION, "Programmer error!  Bad API structure version"
40error_code KADM5_OLD_STRUCT_VERSION, "API structure version specified by application is no longer supported (to fix, recompile application against current KADM5 API header files and libraries)"
41error_code KADM5_NEW_STRUCT_VERSION, "API structure version specified by application is unknown to libraries (to fix, obtain current KADM5 API header files and libraries and recompile application)"
42error_code KADM5_BAD_API_VERSION, "Programmer error!  Bad API version"
43error_code KADM5_OLD_LIB_API_VERSION, "API version specified by application is no longer supported by libraries (to fix, update application to adhere to current API version and recompile)"
44error_code KADM5_OLD_SERVER_API_VERSION, "API version specified by application is no longer supported by server (to fix, update application to adhere to current API version and recompile)"
45error_code KADM5_NEW_LIB_API_VERSION, "API version specified by application is unknown to libraries (to fix, obtain current KADM5 API header files and libraries and recompile application)"
46error_code KADM5_NEW_SERVER_API_VERSION, "API version specified by application is unknown to server (to fix, obtain and install newest KADM5 Admin Server)"
47error_code KADM5_SECURE_PRINC_MISSING, "Database error! Required KADM5 principal missing"
48error_code KADM5_NO_RENAME_SALT, "The salt type of the specified principal does not support renaming"
49error_code KADM5_BAD_CLIENT_PARAMS, "Illegal configuration parameter for remote KADM5 client"
50error_code KADM5_BAD_SERVER_PARAMS, "Illegal configuration parameter for local KADM5 client"
51error_code KADM5_AUTH_LIST, "Operation requires ``list'' privilege"
52error_code KADM5_AUTH_CHANGEPW, "Operation requires ``change-password'' privilege"
53error_code KADM5_GSS_ERROR, "GSS-API (or Kerberos) error"
54error_code KADM5_BAD_TL_TYPE, "Programmer error!  Illegal tagged data list type"
55error_code KADM5_MISSING_CONF_PARAMS, "Required parameters in kdc.conf missing"
56error_code KADM5_BAD_SERVER_NAME, "Bad krb5 admin server hostname"
57error_code KADM5_AUTH_SETKEY, "Operation requires ``set-key'' privilege"
58error_code KADM5_SETKEY_DUP_ENCTYPES, "Multiple values for single or folded enctype"
59error_code KADM5_SETV4KEY_INVAL_ENCTYPE, "Invalid enctype for setv4key"
60error_code KADM5_SETKEY3_ETYPE_MISMATCH, "Mismatched enctypes for setkey3"
61error_code KADM5_MISSING_KRB5_CONF_PARAMS, "Missing parameters in krb5.conf required for kadmin client"
62error_code KADM5_XDR_FAILURE,		"XDR encoding error"
63error_code KADM5_CANT_RESOLVE, "Cannot resolve network address for admin server in requested realm"
64error_code KADM5_PASS_Q_GENERIC, "Unspecified password quality failure"
65error_code KADM5_BAD_KEYSALTS, "Invalid key/salt tuples"
66error_code KADM5_SETKEY_BAD_KVNO, "Invalid multiple or duplicate kvnos in setkey operation"
67error_code KADM5_AUTH_EXTRACT, "Operation requires ``extract-keys'' privilege"
68error_code KADM5_PROTECT_KEYS, "Principal keys are locked down"
69error_code KADM5_AUTH_INITIAL, "Operation requires initial ticket"
70end
71