xref: /freebsd/crypto/krb5/src/ccapi/lib/ccapi_err.et (revision b670c9bafc0e31c7609969bf374b2e80bdc00211)
1#
2# $Header$
3#
4# Copyright 1998-2006 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
27error_table_base 201
28error_table_manager "Credentials Cache"
29error_table CAPI
30
31# 201
32error_code ccIteratorEnd,                       "Reached end of iterator"
33error_code ccErrBadParam,                       "Invalid argument"
34error_code ccErrNoMem,                          "Out of memory"
35error_code ccErrInvalidContext,                 "Invalid credentials cache context"
36error_code ccErrInvalidCCache,                  "Invalid credentials cache"
37
38# 206
39index 5
40error_code ccErrInvalidString,                  "Invalid credentials cache string"
41error_code ccErrInvalidCredentials,             "Invalid credentials"
42error_code ccErrInvalidCCacheIterator,          "Invalid credentials cache iterator"
43error_code ccErrInvalidCredentialsIterator,     "Invalid credentials iterator"
44error_code ccErrInvalidLock,                    "Invalid iterator"
45
46# 211
47index 10
48error_code ccErrBadName,                        "Invalid credentials cache name"
49error_code ccErrBadCredentialsVersion,          "Invalid credentials cache version (not 4 or 5)"
50error_code ccErrBadAPIVersion,                  "Invalid CCAPI version"
51error_code ccErrContextLocked,                  "Credentials cache context is already locked"
52error_code ccErrContextUnlocked,                "Credentials cache context is already unlocked"
53
54# 216
55index 15
56error_code ccErrCCacheLocked,                   "Credentials cache is already locked"
57error_code ccErrCCacheUnlocked,                 "Credentials cache is already unlocked"
58error_code ccErrBadLockType,                    "Invalid credentials cache lock type"
59error_code ccErrNeverDefault,                   "Credentials cache has never been the default cache"
60error_code ccErrCredentialsNotFound,            "Credentials not found"
61
62# 221
63index 20
64error_code ccErrCCacheNotFound,                 "Credentials cache not found"
65error_code ccErrContextNotFound,                "Credentials cache context not found"
66error_code ccErrServerUnavailable,              "Credentials cache server unavailable"
67error_code ccErrServerInsecure,                 "Credentials cache server in this bootstrap is owned by another user"
68error_code ccErrServerCantBecomeUID,            "Credentials cache server failed to change effective uids"
69
70# 226
71index 25
72error_code ccErrTimeOffsetNotSet,               "Credentials cache time offset not set"
73
74end
75