Network Working Group K. Zeilenga Request for Comments: 3674 OpenLDAP Foundation Category: Standards Track December 2003Feature Discovery in Lightweight Directory Access Protocol (LDAP)
1. Background and Intended Use
The Lightweight Directory Access Protocol (LDAP) [RFC3377] is an extensible protocol with numerous elective features. LDAP provides mechanisms for a client to discover supported protocol versions, controls, extended operations, Simple Authentication and Security Layer (SASL) mechanisms, and subschema information. However, these mechanisms are not designed to support general feature discovery.
Zeilenga Standards Track [Page 1]
RFC 3674 Feature Discovery in LDAP December 2003
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119].
2. Discovery of supported features
Each elective feature whose support may be discovered SHALL be identified by an Object Identifier (OID). A server advertises its support for a given feature by providing the OID associated with the feature as a value of the 'supportedFeatures' attribute held in the root DSE. A client may examine the values of this attribute to determine if a particular feature is supported by the server. A client MUST ignore values it doesn't recognize as they refer to elective features it doesn't implement.
3. Security Considerations
As rogue clients can discover features of a server by other means (such as by trial and error), this feature discovery mechanism is not believed to introduce any new security risk to LDAP.
Zeilenga Standards Track [Page 2]
RFC 3674 Feature Discovery in LDAP December 2003 4. IANA Considerations 4.1. Registration of Features as Protocol MechanismsFuture specifications detailing LDAP features are to register each feature as a LDAP Protocol Mechanism per guidance given in BCP 64 [RFC3383]. A usage of "Feature" in a Protocol Mechanism registration template indicates that the value to be registered is associated with an LDAP feature.
4.2. Registration of the supportedFeatures descriptor
The IANA has registered the LDAP 'supportedFeatures' descriptor. The following registration template is suggested:
5. Acknowledgment
This document is based upon input from the IETF LDAPEXT working group.
6. Intellectual Property Statement
The IETF takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on the IETF's procedures with respect to rights in standards-track and standards-related documentation can be found in BCP-11. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification can be obtained from the IETF Secretariat. The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to practice this standard. Please address the information to the IETF Executive Director.
Zeilenga Standards Track [Page 3]
RFC 3674 Feature Discovery in LDAP December 2003 7. References 7.1. Normative References[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
7.2. Informative References
[RFC3673] Zeilenga, K., "Lightweight Directory Access Protocol
8. Author's Address
Kurt D. Zeilenga OpenLDAP Foundation
Zeilenga Standards Track [Page 4]
RFC 3674 Feature Discovery in LDAP December 2003 9. Full Copyright StatementCopyright (C) The Internet Society (2003). All Rights Reserved.