1# slapo-retcode standard track response codes configuration example 2# OpenLDAP: pkg/ldap/tests/data/retcode.conf,v 1.5.2.5 2010/04/13 20:23:51 kurt Exp 3## This work is part of OpenLDAP Software <http://www.openldap.org/>. 4## 5## Copyright 1998-2010 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 18retcode-item "cn=success" 0x00 19 20retcode-item "cn=success w/ delay" 0x00 sleeptime=2 21 22retcode-item "cn=operationsError" 0x01 23retcode-item "cn=protocolError" 0x02 24retcode-item "cn=timeLimitExceeded" 0x03 op=search 25retcode-item "cn=sizeLimitExceeded" 0x04 op=search 26retcode-item "cn=compareFalse" 0x05 op=compare 27retcode-item "cn=compareTrue" 0x06 op=compare 28retcode-item "cn=authMethodNotSupported" 0x07 29retcode-item "cn=strongAuthNotSupported" 0x07 text="same as authMethodNotSupported" 30retcode-item "cn=strongAuthRequired" 0x08 31retcode-item "cn=strongerAuthRequired" 0x08 text="same as strongAuthRequired" 32#retcode-item "cn=partialResults" 0x09 text="LDAPv2+ (not LDAPv3)" 33 34retcode-item "cn=referral" 0x0a text="LDAPv3" ref="ldap://:9019" 35retcode-item "cn=adminLimitExceeded" 0x0b text="LDAPv3" 36retcode-item "cn=unavailableCriticalExtension" 0x0c text="LDAPv3" 37retcode-item "cn=confidentialityRequired" 0x0d text="LDAPv3" 38retcode-item "cn=saslBindInProgress" 0x0e text="LDAPv3" 39 40# LDAP_ATTR_ERROR(n) LDAP_RANGE((n),0x10,0x15) /* 16-21 */ 41 42retcode-item "cn=noSuchAttribute" 0x10 43retcode-item "cn=undefinedAttributeType" 0x11 44retcode-item "cn=inappropriateMatching" 0x12 45retcode-item "cn=constraintViolation" 0x13 46retcode-item "cn=attributeOrValueExists" 0x14 47retcode-item "cn=invalidAttributeSyntax" 0x15 48 49# LDAP_NAME_ERROR(n) LDAP_RANGE((n),0x20,0x24) /* 32-34,36 */ 50 51retcode-item "cn=noSuchObject" 0x20 52retcode-item "cn=aliasProblem" 0x21 53retcode-item "cn=invalidDNSyntax" 0x22 54#retcode-item "cn=isLeaf" 0x23 text="not LDAPv3" 55retcode-item "cn=aliasDereferencingProblem" 0x24 56 57# LDAP_SECURITY_ERROR(n) LDAP_RANGE((n),0x2F,0x32) /* 47-50 */ 58 59retcode-item "cn=proxyAuthzFailure" 0x2F text="LDAPv3 proxy authorization" 60retcode-item "cn=inappropriateAuthentication" 0x30 61retcode-item "cn=invalidCredentials" 0x31 62retcode-item "cn=insufficientAccessRights" 0x32 63 64# LDAP_SERVICE_ERROR(n) LDAP_RANGE((n),0x33,0x36) /* 51-54 */ 65 66retcode-item "cn=busy" 0x33 67retcode-item "cn=unavailable" 0x34 68retcode-item "cn=unwillingToPerform" 0x35 69retcode-item "cn=loopDetect" 0x36 70 71# LDAP_UPDATE_ERROR(n) LDAP_RANGE((n),0x40,0x47) /* 64-69,71 */ 72 73retcode-item "cn=namingViolation" 0x40 74retcode-item "cn=objectClassViolation" 0x41 75retcode-item "cn=notAllowedOnNonleaf" 0x42 76retcode-item "cn=notAllowedOnRDN" 0x43 77retcode-item "cn=entryAlreadyExists" 0x44 78retcode-item "cn=objectClassModsProhibited" 0x45 79retcode-item "cn=resultsTooLarge" 0x46 text="CLDAP" 80retcode-item "cn=affectsMultipleDSAs" 0x47 text="LDAPv3" 81 82retcode-item "cn=other" 0x50 83 84# /* LCUP operation codes (113-117) - not implemented */ 85retcode-item "cn=cupResourcesExhausted" 0x71 86retcode-item "cn=cupSecurityViolation" 0x72 87retcode-item "cn=cupInvalidData" 0x73 88retcode-item "cn=cupUnsupportedScheme" 0x74 89retcode-item "cn=cupReloadRequired" 0x75 90 91# /* Cancel operation codes (118-121) */ 92retcode-item "cn=cancelled" 0x76 93retcode-item "cn=noSuchOperation" 0x77 94retcode-item "cn=tooLate" 0x78 95retcode-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 */ 103retcode-item "cn=syncRefreshRequired" 0x4100 104 105# /* for the LDAP No-Op control */ 106retcode-item "cn=noOperation" 0x410e 107 108# /* for the Assertion control */ 109retcode-item "cn=assertionFailed" 0x410f 110 111# /* for the Chaining Behavior control (consecutive result codes requested; 112# * see <draft-sermersheim-ldap-chaining> ) */ 113retcode-item "cn=noReferralsFound" 0x4110 114retcode-item "cn=cannotChain" 0x4111 115 116