RFC 1487 (rfc1487) - Page 3 of 21
X
Alternative Format: Original Text Document
RFC 1487 X.500 LDAP July 1993
3.2. Connection Oriented Transport Service (COTS)
The connection is established. No special special use of T-Connect
is made. Each LDAPMessage PDU is mapped directly onto T-Data.
4. Elements of Protocol
For the purposes of protocol exchanges, all protocol operations are
encapsulated in a common envelope, the LDAPMessage, which is defined
as follows:
LDAPMessage ::=
SEQUENCE {
messageID MessageID,
protocolOp CHOICE {
bindRequest BindRequest,
bindResponse BindResponse,
unbindRequest UnbindRequest
searchRequest SearchRequest,
searchResponse SearchResponse,
modifyRequest ModifyRequest,
modifyResponse ModifyResponse,
addRequest AddRequest,
addResponse AddResponse,
delRequest DelRequest,
delResponse DelResponse,
modifyRDNRequest ModifyRDNRequest,
modifyRDNResponse ModifyRDNResponse,
compareDNRequest CompareRequest,
compareDNResponse CompareResponse,
abandonRequest AbandonRequest
}
}
MessageID ::= INTEGER (0 .. MaxInt)
The function of the LDAPMessage is to provide an envelope containing
common fields required in all protocol exchanges. At this time the
only common field is a message ID, which is required to have a value
different from the values of any other requests outstanding in the
LDAP session of which this message is a part.
The message ID value must be echoed in all LDAPMessage envelopes
encapsulting responses corresponding to the request contained in the
LDAPMessage in which the message ID value was originally used.
In addition to the LDAPMessage defined above, the following
definitions are also used in defining protocol operations:
Yeong, Howes & Kille