1 # slapo-retcode standard track response codes configuration example
2 # $OpenLDAP: pkg/ldap/tests/data/retcode.conf,v 1.5.2.3 2008/02/12 01:07:39 quanah Exp $
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2008 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
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>.
16 # From "ldap.h", revised as per <draft-ietf-ldapbis-protocol>
18 retcode-item "cn=success" 0x00
20 retcode-item "cn=success w/ delay" 0x00 sleeptime=2
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)"
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"
40 # LDAP_ATTR_ERROR(n) LDAP_RANGE((n),0x10,0x15) /* 16-21 */
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
49 # LDAP_NAME_ERROR(n) LDAP_RANGE((n),0x20,0x24) /* 32-34,36 */
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
57 # LDAP_SECURITY_ERROR(n) LDAP_RANGE((n),0x2F,0x32) /* 47-50 */
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
64 # LDAP_SERVICE_ERROR(n) LDAP_RANGE((n),0x33,0x36) /* 51-54 */
66 retcode-item "cn=busy" 0x33
67 retcode-item "cn=unavailable" 0x34
68 retcode-item "cn=unwillingToPerform" 0x35
69 retcode-item "cn=loopDetect" 0x36
71 # LDAP_UPDATE_ERROR(n) LDAP_RANGE((n),0x40,0x47) /* 64-69,71 */
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"
82 retcode-item "cn=other" 0x50
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
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
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 */
102 # /* for the LDAP Sync operation */
103 retcode-item "cn=syncRefreshRequired" 0x4100
105 # /* for the LDAP No-Op control */
106 retcode-item "cn=noOperation" 0x410e
108 # /* for the Assertion control */
109 retcode-item "cn=assertionFailed" 0x410f
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