ietf-corpus

rfc-3771

The Lightweight Directory Access Protocol (LDAP) Intermediate Response Message

R. Harrison, K. Zeilenga
date2004-04 streamIETF wgnon working group statusPROPOSED STANDARD pages8 canonicalhttps://www.rfc-editor.org/rfc/rfc3771 doi10.17487/RFC3771
This document defines and describes the IntermediateResponse message, a general mechanism for defining single-request/multiple-response operations in Lightweight Directory Access Protocol (LDAP). The IntermediateResponse message is defined in such a way that the protocol behavior of existing LDAP operations is maintained. This message is intended to be used in conjunction with the LDAP ExtendedRequest and ExtendedResponse to define new single-request/multiple-response operations or in conjunction with a control when extending existing LDAP operations in a way that requires them to return intermediate response information. [STANDARDS-TRACK]

obsoleted by

updates

Extracted elements (14)

design-rationale §1

A new IntermediateResponse message type was introduced rather than reusing ExtendedResponse as a general intermediate response mechanism because adapting ExtendedResponse would likely require existing APIs to be redesigned and was believed to cause interoperability problems with existing deployed implementations.

ldap

design-rationale §1

A single, reusable LDAP message for carrying intermediate response information was desired to avoid repeated modification of the protocol each time a new multi-response operation needed to be defined.

ldap

design-rationale §1

Returning continuation references and intermediate status information as they are found (rather than with the final result) allows the client to perform multi-stage operations more efficiently, motivating the need for an intermediate response mechanism beyond the existing single-request/single-response paradigm.

ldap

interoperability-note §4

Support for IntermediateResponse messages is advertised implicitly via the supportedExtension and supportedControl attributes of the root DSE; no separate advertisement mechanism is needed since IntermediateResponse is always associated with a specific extension or control.

ldap

interoperability-note §5 SHOULD

Use of ExtendedResponse messages in response to LDAP search operations with controls (as permitted by RFC 2251 Section 4.5.2) SHOULD be viewed as deprecated in favor of IntermediateResponse messages.

ldap

normative-requirement §3.2 MUST

A request control that defines the return of multiple kinds of IntermediateResponse messages MUST provide and document a mechanism for the client to distinguish the kind being sent, via different responseName values or identifying information in the responseValue.

ldap

normative-requirement §3.2 SHALL

All IntermediateResponse messages associated with request controls SHALL include a responseName, ensuring the client can correctly identify the source when multiple controls or a mix of controls and extended operations use IntermediateResponse messages.

ldap

normative-requirement §3.1 MUST

An extended operation that defines the return of multiple kinds of IntermediateResponse messages MUST provide and document a mechanism for the client to distinguish the kind being sent, either by using different responseName values or by including identifying information in the responseValue.

ldap

normative-requirement §3 SHALL NOT

IntermediateResponse messages SHALL NOT be returned to the client unless the client issues a request that specifically solicits their return. Two forms of solicitation are defined: extended operation and request control.

ldap

normative-requirement §3 MUST

The value of the responseName (if present), the syntax of the responseValue (if present), and the semantics associated with a particular IntermediateResponse message MUST be specified in documents describing the extended operation or request control that uses them.

ldap

protocol-element §3.1

A single-request/multiple-response operation is structured as a single ExtendedRequest soliciting zero or more IntermediateResponse messages of one or more kinds, followed by exactly one ExtendedResponse message.

ldap

registry §7.1

IANA registered LDAP Message Type 25 to identify the IntermediateResponse message. The registration is under RFC 3383 (IANA Considerations for LDAP), with IESG as change controller.

ldap, registry

security-consideration §6

This document introduces no new security considerations to LDAP; all security considerations of RFC 3377 apply. Security considerations specific to each extension using IntermediateResponse shall be discussed in the technical specification for that extension.

ldap, security

wire-format §3

IntermediateResponse is encoded as APPLICATION 25, a SEQUENCE containing an optional responseName field (tag [0], type LDAPOID) and an optional responseValue field (tag [1], type OCTET STRING). It extends the protocolOp CHOICE of LDAPMessage.

ldap