1#
2# lib/krb5/error_tables/kdb5_err.et
3#
4# Copyright 1990, 2008 by the Massachusetts Institute of Technology.
5# All Rights Reserved.
6#
7# Export of this software from the United States of America may
8#   require a specific license from the United States Government.
9#   It is the responsibility of any person or organization contemplating
10#   export to obtain such a license before exporting.
11#
12# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
13# distribute this software and its documentation for any purpose and
14# without fee is hereby granted, provided that the above copyright
15# notice appear in all copies and that both that copyright notice and
16# this permission notice appear in supporting documentation, and that
17# the name of M.I.T. not be used in advertising or publicity pertaining
18# to distribution of the software without specific, written prior
19# permission.  Furthermore if you modify this software you must label
20# your software as modified software and not distribute it in such a
21# fashion that it might be confused with the original M.I.T. software.
22# M.I.T. makes no representations about the suitability of
23# this software for any purpose.  It is provided "as is" without express
24# or implied warranty.
25#
26#
27# The Kerberos v5 database library error code table.
28#
29error_table kdb5
30
31ec KRB5_KDB_RCSID,	"$Id$"
32# /* From the server side routines */
33ec KRB5_KDB_INUSE,		"Entry already exists in database"
34ec KRB5_KDB_UK_SERROR,		"Database store error"
35ec KRB5_KDB_UK_RERROR,		"Database read error"
36ec KRB5_KDB_UNAUTH,		"Insufficient access to perform requested operation"
37# KRB5_KDB_DATA isn't really an error, but...
38ec KRB5_KDB_NOENTRY,		"No such entry in the database"
39
40ec KRB5_KDB_ILL_WILDCARD,	"Illegal use of wildcard"
41
42ec KRB5_KDB_DB_INUSE,		"Database is locked or in use--try again later"
43
44ec KRB5_KDB_DB_CHANGED,		"Database was modified during read"
45
46ec KRB5_KDB_TRUNCATED_RECORD,	"Database record is incomplete or corrupted"
47ec KRB5_KDB_RECURSIVELOCK,	"Attempt to lock database twice"
48ec KRB5_KDB_NOTLOCKED,		"Attempt to unlock database when not locked"
49ec KRB5_KDB_BADLOCKMODE,	"Invalid kdb lock mode"
50ec KRB5_KDB_DBNOTINITED,	"Database has not been initialized"
51ec KRB5_KDB_DBINITED,		"Database has already been initialized"
52
53ec KRB5_KDB_ILLDIRECTION,	"Bad direction for converting keys"
54
55ec KRB5_KDB_NOMASTERKEY,	"Cannot find master key record in database"
56ec KRB5_KDB_BADMASTERKEY,	"Master key does not match database"
57ec KRB5_KDB_INVALIDKEYSIZE,	"Key size in database is invalid"
58ec KRB5_KDB_CANTREAD_STORED,	"Cannot find/read stored master key"
59ec KRB5_KDB_BADSTORED_MKEY,	"Stored master key is corrupted"
60ec KRB5_KDB_NOACTMASTERKEY,	"Cannot find active master key"
61ec KRB5_KDB_KVNONOMATCH,	"KVNO of new master key does not match expected value"
62ec KRB5_KDB_STORED_MKEY_NOTCURRENT,	"Stored master key is not current"
63
64ec KRB5_KDB_CANTLOCK_DB,	"Insufficient access to lock database"
65
66ec KRB5_KDB_DB_CORRUPT,		"Database format error"
67ec KRB5_KDB_BAD_VERSION,	"Unsupported version in database entry"
68
69ec KRB5_KDB_BAD_SALTTYPE,	"Unsupported salt type"
70ec KRB5_KDB_BAD_ENCTYPE,	"Unsupported encryption type"
71ec KRB5_KDB_BAD_CREATEFLAGS,	"Bad database creation flags"
72ec KRB5_KDB_NO_PERMITTED_KEY,	"No matching key in entry having a permitted enctype"
73ec KRB5_KDB_NO_MATCHING_KEY,	"No matching key in entry"
74ec KRB5_KDB_DBTYPE_NOTFOUND,	"Unable to find requested database type"
75ec KRB5_KDB_DBTYPE_NOSUP,	"Database type not supported"
76ec KRB5_KDB_DBTYPE_INIT,	"Database library failed to initialize"
77ec KRB5_KDB_SERVER_INTERNAL_ERR,   "Server error"
78ec KRB5_KDB_ACCESS_ERROR,       "Unable to access Kerberos database"
79ec KRB5_KDB_INTERNAL_ERROR,     "Kerberos database internal error"
80ec KRB5_KDB_CONSTRAINT_VIOLATION,  "Kerberos database constraints violated"
81ec KRB5_LOG_CONV,		"Update log conversion error"
82ec KRB5_LOG_UNSTABLE,		"Update log is unstable"
83ec KRB5_LOG_CORRUPT,		"Update log is corrupt"
84ec KRB5_LOG_ERROR,		"Generic update log error"
85ec KRB5_KDB_DBTYPE_MISMATCH,    "Database module does not match KDC version"
86ec KRB5_KDB_POLICY_REF,		"Policy is in use"
87ec KRB5_KDB_STRINGS_TOOLONG,    "Too much string mapping data"
88
89end
90