]> git.sur5r.net Git - openldap/blob - doc/drafts/draft-zeilenga-ldap-turn-xx.txt
Add note about syncrepl Persist retries
[openldap] / doc / drafts / draft-zeilenga-ldap-turn-xx.txt
1
2
3
4
5
6 INTERNET-DRAFT                                      Kurt D. Zeilenga
7 Intended Category: Experimental                  OpenLDAP Foundation
8 Expires in six months                                8 February 2004
9
10
11
12                            LDAP Turn Operation
13                     <draft-zeilenga-ldap-turn-00.txt>
14
15
16 1.      Status of this Memo
17
18   This document is an Internet-Draft and is in full conformance with all
19   provisions of Section 10 of RFC2026.
20
21   This document is intended to be, after appropriate review and
22   revision, submitted to the RFC Editor for publication as an
23   Experimental document.  Distribution of this memo is unlimited.
24   Technical discussion of this document will take place on the IETF LDAP
25   Extensions mailing list <ldapext@ietf.org>.  Please send editorial
26   comments directly to the author <Kurt@OpenLDAP.org>.
27
28   Internet-Drafts are working documents of the Internet Engineering Task
29   Force (IETF), its areas, and its working groups.  Note that other
30   groups may also distribute working documents as Internet-Drafts.
31   Internet-Drafts are draft documents valid for a maximum of six months
32   and may be updated, replaced, or obsoleted by other documents at any
33   time.  It is inappropriate to use Internet-Drafts as reference
34   material or to cite them other than as ``work in progress.''
35
36   The list of current Internet-Drafts can be accessed at
37   <http://www.ietf.org/ietf/1id-abstracts.txt>. The list of
38   Internet-Draft Shadow Directories can be accessed at
39   <http://www.ietf.org/shadow.html>.
40
41   Copyright (C) The Internet Society (2004).  All Rights Reserved.
42
43   Please see the Full Copyright section near the end of this document
44   for more information.
45
46
47 Abstract
48
49   This specification describes a Lightweight Directory Access Protocol
50   (LDAP) extended operation to reverse (or "turn") the roles of client
51   and server for subsequent protocol exchanges in the session.
52
53
54
55
56
57 Zeilenga                      LDAP Turn Op                      [Page 1]
58 \f
59 INTERNET-DRAFT         draft-zeilenga-ldap-turn-00       8 February 2004
60
61
62 1. Background and Intent of Use
63
64   The Lightweight Directory Access Protocol (LDAP) [RFC3377] is a client
65   / server protocol which typically operates over reliable octet stream
66   transports such as the Transport Control Protocol (TCP).  Generally,
67   the client initiates the stream by connecting to the server's listener
68   at some well-known address.
69
70   There are cases where it is desirable for the server to initiate the
71   stream.  While it certainly is possible to write a technical
72   specification detailing how to implement server-initiated LDAP
73   sessions, this would requiring designing new authentication and other
74   security features to support server-initiated LDAP sessions.
75
76   This document instead introduces an operation, the Turn operation,
77   which may be used to reverse the client / server roles of the
78   protocol peers.  This allows the initiating protocol peer to be server
79   (after reversal).
80
81   As an additional feature, the Turn operation may be used to allow both
82   peers to act in both roles.  This is useful where both peers are
83   directory servers which desire to issue, as LDAP clients, operations
84   against the other.  This may be useful in replicated environments.
85
86   This operation is intended to used between protocol peers which have
87   established a mutual agreement, by means outside of the protocol,
88   which requires reversal of client / server roles or both peers to act
89   both as client and server.
90
91
92 1.1 Terminology
93
94   Protocol elements are described using ASN.1 [X.680] with implicit
95   tags.  The term "BER-encoded" means the element is to be encoded using
96   the Basic Encoding Rules [X.690] under the restrictions detailed in
97   Section 5.1 of [RFC2251].
98
99   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
100   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
101   document are to be interpreted as described in BCP 14 [RFC2119].
102
103
104 2. Turn Operation
105
106   The Turn operation is defined as a LDAP Extended Operation [RFC2251,
107   Section 4.12] identified by the IANA-ASSIGNED-OID.  The function of
108   the Turn Operation is to request that the client / server roles be
109   reversed, or, optionally to request that both protocol peers to be
110
111
112
113 Zeilenga                      LDAP Turn Op                      [Page 2]
114 \f
115 INTERNET-DRAFT         draft-zeilenga-ldap-turn-00       8 February 2004
116
117
118   able to act both as client and server.
119
120
121 2.1. Turn Request
122
123   The Turn request is an ExtendedRequest with the requestName field
124   containing the IANA-ASSIGNED-OID and a requestValue field is a
125   BER-encoded turnValue:
126
127        turnValue ::= SEQUENCE {
128             mutual         BOOLEAN DEFAULT FALSE,
129             identifier     LDAPString,
130        }
131
132   A TRUE value of the mutual field indicates a request to allow both
133   peers to act both as client and server while a FALSE value indicates a
134   request to reserve the client and server roles.
135
136   The value of the identifier field is a locally-defined policy
137   identifier (typicallly associated with a mutual agreement for which
138   this turn is be executed as part of).  This policy identifier is
139   called the turn indicator.
140
141
142 2.2. Turn Response
143
144   A Turn response is an ExtendedResponse where the responseName and
145   response fields are absent.   A resultCode of success is returned if
146   and only if the responder is willing and able to turn the session as
147   requested.  Otherwise, a different resultCode is returned.
148
149
150 3. Security Considerations
151
152   It is generally recommended that before issuing the Turn operation the
153   protocol peers:
154
155     - establish each other identities through appropriate authentication
156       mechanism,
157     - establish appropriate data integrity, data confidentiality, and
158       other protections,
159     - establish an LDAP association between the initiating peer and the
160       responding peer.
161
162   And upon successful completion of turn:
163     - establish an LDAP association in reverse.
164
165   That is, for peer A connecting to peer B listening and where TLS and
166
167
168
169 Zeilenga                      LDAP Turn Op                      [Page 3]
170 \f
171 INTERNET-DRAFT         draft-zeilenga-ldap-turn-00       8 February 2004
172
173
174   SASL/EXTERNAL were to be used, the sequence of operations would be:
175
176       A->B: StartTLS
177       A->B: Bind(SASL,EXTERNAL)
178       A->B: Turn
179       B->A: Bind(SASL,EXTERNAL)
180
181
182 4.  IANA Considerations
183
184   Registration of the following values [RFC3383] is requested.
185
186
187 4.1.  Object Identifier
188
189   It is requested that IANA assign an LDAP Object Identifier to identify
190   the LDAP Turn Operation as defined in this document.
191
192       Subject: Request for LDAP Object Identifier Registration
193       Person & email address to contact for further information:
194            Kurt Zeilenga <kurt@OpenLDAP.org>
195       Specification: RFC XXXX
196       Author/Change Controller: Author
197       Comments:
198            Identifies the LDAP Turn Operation
199
200
201 4.2.  LDAP Protocol Mechanism
202
203   It is requested that IANA register the LDAP Protocol Mechanism
204   described in this document.
205
206       Subject: Request for LDAP Protocol Mechanism Registration
207       Object Identifier: IANA-ASSIGNED-OID
208       Description: LDAP Turn Operation
209       Person & email address to contact for further information:
210            Kurt Zeilenga <kurt@openldap.org>
211       Usage: Extended Operation
212       Specification: RFC XXXX
213       Author/Change Controller: Author
214       Comments: none
215
216
217 5. Normative References
218
219   [RFC2119]     Bradner, S., "Key words for use in RFCs to Indicate
220                 Requirement Levels", BCP 14 (also RFC 2119), March 1997.
221
222
223
224
225 Zeilenga                      LDAP Turn Op                      [Page 4]
226 \f
227 INTERNET-DRAFT         draft-zeilenga-ldap-turn-00       8 February 2004
228
229
230   [RFC2251]     Wahl, M., T. Howes and S. Kille, "Lightweight Directory
231                 Access Protocol (v3)", RFC 2251, December 1997.
232
233   [RFC3377]     Hodges, J. and R. Morgan, "Lightweight Directory Access
234                 Protocol (v3): Technical Specification", RFC 3377,
235                 September 2002.
236
237   [X.680]       International Telecommunication Union -
238                 Telecommunication Standardization Sector, "Abstract
239                 Syntax Notation One (ASN.1) - Specification of Basic
240                 Notation", X.680(1997) (also ISO/IEC 8824-1:1998).
241
242   [X.690]       International Telecommunication Union -
243                 Telecommunication Standardization Sector, "Specification
244                 of ASN.1 encoding rules: Basic Encoding Rules (BER),
245                 Canonical Encoding Rules (CER), and Distinguished
246                 Encoding Rules (DER)", X.690(1997) (also ISO/IEC
247                 8825-1:1998).
248
249
250 6. Informative References
251
252   [RFC3383]     Zeilenga, K., "IANA Considerations for LDAP", BCP 64
253                 (also RFC 3383), September 2002.
254
255
256 7. Author's Address
257
258   Kurt D. Zeilenga
259   OpenLDAP Foundation
260
261   Email: Kurt@OpenLDAP.org
262
263
264
265 Intellectual Property Rights
266
267   The IETF takes no position regarding the validity or scope of any
268   intellectual property or other rights that might be claimed to pertain
269   to the implementation or use of the technology described in this
270   document or the extent to which any license under such rights might or
271   might not be available; neither does it represent that it has made any
272   effort to identify any such rights.  Information on the IETF's
273   procedures with respect to rights in standards-track and
274   standards-related documentation can be found in BCP-11.  Copies of
275   claims of rights made available for publication and any assurances of
276   licenses to be made available, or the result of an attempt made to
277   obtain a general license or permission for the use of such proprietary
278
279
280
281 Zeilenga                      LDAP Turn Op                      [Page 5]
282 \f
283 INTERNET-DRAFT         draft-zeilenga-ldap-turn-00       8 February 2004
284
285
286   rights by implementors or users of this specification can be obtained
287   from the IETF Secretariat.
288
289   The IETF invites any interested party to bring to its attention any
290   copyrights, patents or patent applications, or other proprietary
291   rights which may cover technology that may be required to practice
292   this standard.  Please address the information to the IETF Executive
293   Director.
294
295
296
297 Full Copyright
298
299   Copyright (C) The Internet Society (2004). All Rights Reserved.
300
301   This document and translations of it may be copied and furnished to
302   others, and derivative works that comment on or otherwise explain it
303   or assist in its implementation may be prepared, copied, published and
304   distributed, in whole or in part, without restriction of any kind,
305   provided that the above copyright notice and this paragraph are
306   included on all such copies and derivative works.  However, this
307   document itself may not be modified in any way, such as by removing
308   the copyright notice or references to the Internet Society or other
309   Internet organizations, except as needed for the  purpose of
310   developing Internet standards in which case the procedures for
311   copyrights defined in the Internet Standards process must be followed,
312   or as required to translate it into languages other than English.
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337 Zeilenga                      LDAP Turn Op                      [Page 6]
338 \f
339 \r