### Kerberos V5 Database Library Error Codes

This is the Kerberos v5 database library error code table.

0. KRB5_KDB_RCSID: (RCS Id string for the kdb error table)
1. KRB5_KDB_INUSE: Entry already exists in database
2. KRB5_KDB_UK_SERROR: Database store error
3. KRB5_KDB_UK_RERROR: Database read error
4. KRB5_KDB_UNAUTH: Insufficient access to perform requested operation
5. KRB5_KDB_NOENTRY: No such entry in the database
6. KRB5_KDB_ILL_WILDCARD: Illegal use of wildcard
7. KRB5_KDB_DB_INUSE: Database is locked or in use-try again later
8. KRB5_KDB_DB_CHANGED: Database was modified during read
9. KRB5_KDB_TRUNCATED_RECORD: Database record is incomplete or corrupted
10. KRB5_KDB_RECURSIVELOCK: Attempt to lock database twice
11. KRB5_KDB_NOTLOCKED: Attempt to unlock database when not locked
12. KRB5_KDB_BADLOCKMODE: Invalid kdb lock mode
13. KRB5_KDB_DBNOTINITED: Database has not been initialized
14. KRB5_KDB_DBINITED: Database has already been initialized
15. KRB5_KDB_ILLDIRECTION: Bad direction for converting keys
16. KRB5_KDB_NOMASTERKEY: Cannot find master key record in database
17. KRB5_KDB_BADMASTERKEY: Master key does not match database
18. KRB5_KDB_INVALIDKEYSIZE: Key size in database is invalid
19. KRB5_KDB_CANTREAD_STORED: Cannot find/read stored master key
20. KRB5_KDB_BADSTORED_MKEY: Stored master key is corrupted
21. KRB5_KDB_CANTLOCK_DB: Insufficient access to lock database
22. KRB5_KDB_DB_CORRUPT: Database format error
23. KRB5_KDB_BAD_VERSION: Unsupported version in database entry
24. KRB5_KDB_BAD_SALTTYPE: Unsupported salt type
25. KRB5_KDB_BAD_ENCTYPE: Unsupported encryption type
26. KRB5_KDB_BAD_CREATEFLAGS: Bad database creation flags
27. KRB5_KDB_NO_PERMITTED_KEY: No matching key in entry having a permitted enc type
28. KRB5_KDB_NO_MATCHING_KEY: No matching key in entry