Openldap Referral Error
Contents |
can be found in doc/rfc of the OpenLDAP source code. We have expanded the description of each ldap error code 1 - operations error error in relation to the OpenLDAP toolsets. LDAP extensions may introduce extension-specific microsoft ldap error codes result codes, which are not part of RFC4511. OpenLDAP returns the result codes related to extensions it implements. ldap error code 53 - unwilling to perform Their meaning is documented in the extension they are related to. H.1. Non-Error Result Codes These result codes (called "non-error" result codes) do not indicate an error condition: success
Ldap No Such Object 32
(0), compareFalse (5), compareTrue (6), referral (10), and saslBindInProgress (14). The success, compareTrue, and compareFalse result codes indicate successful completion (and, hence, are referred to as "successful" result codes). The referral and saslBindInProgress result codes indicate the client needs to take additional action to complete the operation. H.2. Result Codes Existing LDAP result codes are described as follows: H.3. ldap error no such object success (0) Indicates the successful completion of an operation. Note: this code is not used with the Compare operation. See compareFalse (5) and compareTrue (6). H.4. operationsError (1) Indicates that the operation is not properly sequenced with relation to other operations (of same or different type). For example, this code is returned if the client attempts to StartTLS (RFC4511 Section 4.14) while there are other uncompleted operations or if a TLS layer was already installed. H.5. protocolError (2) Indicates the server received data that is not well-formed. For Bind operation only, this code is also used to indicate that the server does not support the requested protocol version. For Extended operations only, this code is also used to indicate that the server does not support (by design or configuration) the Extended operation associated with the requestName. For request operations specifying multiple controls, this may be used to indicate that the server cannot ignore the order of the controls as specified, or that the combination of the specified controls is invalid or unspecified. H.6. timeLimitExceeded (3) I
example, if you ldap server is unwilling to perform are adding "cn=bob,dc=domain,dc=com" and you get: ldap_add: No
Active Directory Ldap Error Codes
such object The entry "dc=domain,dc=com" likely doesn't exist. You can use ldapsearch to
Ldap_add: No Such Object (32)
see if does exist: ldapsearch -b 'dc=domain,dc=com' -s base '(objectclass=*)' If it doesn't, add it. See the Quick Start Guide http://www.openldap.org/doc/admin24/appendix-ldap-result-codes.html (http://www.openldap.org/doc/admin/quickstart.html) for assistance. Note: if the entry being added is the same as database suffix, it's parent isn't required. Ie: if your suffix is "dc=domain,dc=com", "dc=com" doesn't need to exist to add "dc=domain,dc=com". This error will also occur if you try to http://www.openldap.org/faq/data/cache/157.html add any entry that the server is not configured to hold. For example, if your database suffix is "dc=domain,dc=com" and you attempt to add "dc=domain2,dc=com", "dc=com", "dc=domain,dc=org", "o=domain,c=us", or an other DN in the "dc=domain,dc=com" subtree, the server will return a "No such object" (or referral) error. slapd(8) will generally return "no global superior knowledge" as additional information indicating its return noSuchObject instead of a referral as the server is not configured with knowledge of a global superior server. See also: ldapadd(1) ldapmodify(1) ldap_add/delete/modify/rename: no global superior knowledge [Append to This Answer] Previous: ldap_add/modify: Object class violation Next: ldap add: invalid structural object class chain This document is: http://www.openldap.org/faq/index.cgi?file=157 [Search] [Appearance] This is a Faq-O-Matic 2.721.test. © Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org
Microsoft Tech Companion App Microsoft Technical Communities Microsoft Virtual Academy Script Center Server and Tools Blogs TechNet Blogs TechNet https://technet.microsoft.com/en-us/library/cc978014.aspx Flash Newsletter TechNet Gallery TechNet Library TechNet Magazine TechNet Subscriptions TechNet Video TechNet Wiki Windows Sysinternals Virtual Labs Solutions Networking Cloud and Datacenter Security Virtualization Downloads https://www.ldap.com/ldap-result-code-reference Updates Service Packs Security Bulletins Windows Update Trials Windows Server 2016 System Center 2016 Windows 10 Enterprise SQL Server 2016 See all trials » Related Sites ldap error Microsoft Download Center TechNet Evaluation Center Drivers Windows Sysinternals TechNet Gallery Training Training Expert-led, virtual classes Training Catalog Class Locator Microsoft Virtual Academy Free Windows Server 2012 courses Free Windows 8 courses SQL Server training Microsoft Official Courses On-Demand Certifications Certification overview MCSA: Windows 10 Windows Server Certification (MCSE) Private Cloud Certification (MCSE) ldap error code SQL Server Certification (MCSE) Other resources TechNet Events Second shot for certification Born To Learn blog Find technical communities in your area Support Support options For business For developers For IT professionals For technical support Support offerings More support Microsoft Premier Online TechNet Forums MSDN Forums Security Bulletins & Advisories Not an IT pro? Microsoft Customer Support Microsoft Community Forums United States (English) Sign in Home Library Wiki Learn Gallery Downloads Support Forums Blogs We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second. Active Directory Name Resolution in Active Directory Finding Information in Active Directory Finding Information in Active Directory LDAP Referrals LDAP Referrals LDAP Referrals Global Catalog and LDAP Searches LDAP Referrals Resolving Names in Directory Operations Components of an LDAP Search Search Filters Searching for Deleted Objects Anonymous Queries LDAP Search Clients TOC Collapse the table of content Expand the table of content This documentation i
Server-Side Result Codes Various LDAP specifications define a number of common result codes that may be included in responses to clients. These result codes include (but are not necessarily limited to): 0: Success This indicates that the operation completed successfully. It may be returned in response to an add, bind, delete, extended, modify, modify DN, or search operations. Compare operations will not return a success result. If a compare operation does not encounter an error during processing, then the server should return a result of either "compare true" or "compare false", based on whether the target entry had the specified attribute value. 1: Operations Error This is intended to indicate that the client has requested an operation at an inappropriate time or in an incorrect order. For example, it may be used if a client sends a non-bind request in the middle of a multi-stage bind operation. Note that some directory servers use this as a generic "server error" type result. This is not the intended use for this result code (the "other" result is a better choice for this), but clients may need to be aware of this possibility. 2: Protocol Error This generally indicates that the client request was improperly formatted in some way. For a bind operation, it may indicate that the client attempted to use an unsupported LDAP protocol version. For an extended operation, it may indicate that the server does not support the extended request type. Note that this result code can only be used if the server is able to at least partially decode the request in order to determine the message ID and operation type, since the server needs that information in order to craft an appropriate response. 3: Time Limit Exceeded This indicates that a search operation took longer to complete than allowed by the maximum time limit for that operation. This may be the time limit specified by the client in the search request, or it may be a time limit imposed by the server. 4: Size Limit Exceeded This indicates that a search operation would have returned more entries than were allowed for that operation. This may be the size limit specified by the client in the search request, or it may be a size limit imposed by the server. Note that the server may return a portion of the matching entries before this result. 5: Compare False This indicates that a compare operation was processed successfully but th