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