]> git.sur5r.net Git - openldap/blob - tests/data/retcode.conf
Happy New Year
[openldap] / tests / data / retcode.conf
1 # slapo-retcode standard track response codes configuration example
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2015 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
11 ##
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
15 #
16 # From "ldap.h", revised as per <draft-ietf-ldapbis-protocol>
17
18 retcode-item    "cn=success"                            0x00
19
20 retcode-item    "cn=success w/ delay"                   0x00    sleeptime=2
21
22 retcode-item    "cn=operationsError"                    0x01
23 retcode-item    "cn=protocolError"                      0x02
24 retcode-item    "cn=timeLimitExceeded"                  0x03    op=search
25 retcode-item    "cn=sizeLimitExceeded"                  0x04    op=search
26 retcode-item    "cn=compareFalse"                       0x05    op=compare
27 retcode-item    "cn=compareTrue"                        0x06    op=compare
28 retcode-item    "cn=authMethodNotSupported"             0x07
29 retcode-item    "cn=strongAuthNotSupported"             0x07    text="same as authMethodNotSupported"
30 retcode-item    "cn=strongAuthRequired"                 0x08
31 retcode-item    "cn=strongerAuthRequired"               0x08    text="same as strongAuthRequired"
32 #retcode-item   "cn=partialResults"                     0x09    text="LDAPv2+ (not LDAPv3)"
33
34 retcode-item    "cn=referral"                           0x0a    text="LDAPv3"   ref="ldap://:9019"
35 retcode-item    "cn=adminLimitExceeded"                 0x0b    text="LDAPv3"
36 retcode-item    "cn=unavailableCriticalExtension"       0x0c    text="LDAPv3"
37 retcode-item    "cn=confidentialityRequired"            0x0d    text="LDAPv3"
38 retcode-item    "cn=saslBindInProgress"                 0x0e    text="LDAPv3"
39
40 # LDAP_ATTR_ERROR(n)    LDAP_RANGE((n),0x10,0x15) /* 16-21 */
41
42 retcode-item    "cn=noSuchAttribute"                    0x10
43 retcode-item    "cn=undefinedAttributeType"             0x11
44 retcode-item    "cn=inappropriateMatching"              0x12
45 retcode-item    "cn=constraintViolation"                0x13
46 retcode-item    "cn=attributeOrValueExists"             0x14
47 retcode-item    "cn=invalidAttributeSyntax"             0x15
48
49 # LDAP_NAME_ERROR(n)    LDAP_RANGE((n),0x20,0x24) /* 32-34,36 */
50
51 retcode-item    "cn=noSuchObject"                       0x20
52 retcode-item    "cn=aliasProblem"                       0x21
53 retcode-item    "cn=invalidDNSyntax"                    0x22
54 #retcode-item   "cn=isLeaf"                             0x23    text="not LDAPv3"
55 retcode-item    "cn=aliasDereferencingProblem"          0x24
56
57 # LDAP_SECURITY_ERROR(n)        LDAP_RANGE((n),0x2F,0x32) /* 47-50 */
58
59 retcode-item    "cn=proxyAuthzFailure"                  0x2F    text="LDAPv3 proxy authorization"
60 retcode-item    "cn=inappropriateAuthentication"        0x30
61 retcode-item    "cn=invalidCredentials"                 0x31
62 retcode-item    "cn=insufficientAccessRights"           0x32
63
64 # LDAP_SERVICE_ERROR(n) LDAP_RANGE((n),0x33,0x36) /* 51-54 */
65
66 retcode-item    "cn=busy"                               0x33
67 retcode-item    "cn=unavailable"                        0x34
68 retcode-item    "cn=unwillingToPerform"                 0x35
69 retcode-item    "cn=loopDetect"                         0x36
70
71 # LDAP_UPDATE_ERROR(n)  LDAP_RANGE((n),0x40,0x47) /* 64-69,71 */
72
73 retcode-item    "cn=namingViolation"                    0x40
74 retcode-item    "cn=objectClassViolation"               0x41
75 retcode-item    "cn=notAllowedOnNonleaf"                0x42
76 retcode-item    "cn=notAllowedOnRDN"                    0x43
77 retcode-item    "cn=entryAlreadyExists"                 0x44
78 retcode-item    "cn=objectClassModsProhibited"          0x45
79 retcode-item    "cn=resultsTooLarge"                    0x46    text="CLDAP"
80 retcode-item    "cn=affectsMultipleDSAs"                0x47    text="LDAPv3"
81
82 retcode-item    "cn=other"                              0x50
83
84 # /* LCUP operation codes (113-117) - not implemented */
85 retcode-item    "cn=cupResourcesExhausted"              0x71
86 retcode-item    "cn=cupSecurityViolation"               0x72
87 retcode-item    "cn=cupInvalidData"                     0x73
88 retcode-item    "cn=cupUnsupportedScheme"               0x74
89 retcode-item    "cn=cupReloadRequired"                  0x75
90
91 # /* Cancel operation codes (118-121) */
92 retcode-item    "cn=cancelled"                          0x76
93 retcode-item    "cn=noSuchOperation"                    0x77
94 retcode-item    "cn=tooLate"                            0x78
95 retcode-item    "cn=cannotCancel"                       0x79
96
97
98 # /* Experimental result codes */
99 # LDAP_E_ERROR(n)       LDAP_RANGE((n),0x1000,0x3FFF) /* experimental */
100 # LDAP_X_ERROR(n)       LDAP_RANGE((n),0x4000,0xFFFF) /* private use */
101
102 # /* for the LDAP Sync operation */
103 retcode-item    "cn=syncRefreshRequired"                0x4100
104
105 # /* for the LDAP No-Op control */
106 retcode-item    "cn=noOperation"                        0x410e
107
108 # /* for the Assertion control */
109 retcode-item    "cn=assertionFailed"                    0x410f
110
111 # /* for the Chaining Behavior control (consecutive result codes requested;
112 #  * see <draft-sermersheim-ldap-chaining> ) */
113 retcode-item    "cn=noReferralsFound"                   0x4110
114 retcode-item    "cn=cannotChain"                        0x4111
115