2002-06-07 09:58:40 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
|
2002-06-07 09:58:40 +08:00
|
|
|
|
INTERNET-DRAFT Kurt D. Zeilenga
|
|
|
|
|
Intended Category: Informational OpenLDAP Foundation
|
2005-11-26 03:23:13 +08:00
|
|
|
|
Expires in six months 18 July 2005
|
|
|
|
|
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
|
|
|
|
|
2004-08-28 02:41:02 +08:00
|
|
|
|
Requesting Attributes by Object Class in the
|
|
|
|
|
Lightweight Directory Access Protocol
|
2005-11-26 03:23:13 +08:00
|
|
|
|
<draft-zeilenga-ldap-adlist-11.txt>
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Status of this Memo
|
|
|
|
|
|
|
|
|
|
This document is intended to be, after appropriate review and
|
|
|
|
|
revision, submitted to the RFC Editor as an Informational document.
|
|
|
|
|
Distribution of this memo is unlimited. Technical discussion of this
|
2003-12-07 15:50:23 +08:00
|
|
|
|
document will take place on the IETF LDAP Extensions mailing list
|
|
|
|
|
<ldapext@ietf.org>. Please send editorial comments directly to the
|
|
|
|
|
author <Kurt@OpenLDAP.org>.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
By submitting this Internet-Draft, each author represents that any
|
|
|
|
|
applicable patent or other IPR claims of which he or she is aware have
|
|
|
|
|
been or will be disclosed, and any of which he or she becomes aware
|
|
|
|
|
will be disclosed, in accordance with Section 6 of BCP 79.
|
2004-08-28 02:41:02 +08:00
|
|
|
|
|
2002-06-07 09:58:40 +08:00
|
|
|
|
Internet-Drafts are working documents of the Internet Engineering Task
|
2004-08-28 02:41:02 +08:00
|
|
|
|
Force (IETF), its areas, and its working groups. Note that other
|
2002-06-07 09:58:40 +08:00
|
|
|
|
groups may also distribute working documents as Internet-Drafts.
|
2004-08-28 02:41:02 +08:00
|
|
|
|
|
2002-06-07 09:58:40 +08:00
|
|
|
|
Internet-Drafts are draft documents valid for a maximum of six months
|
|
|
|
|
and may be updated, replaced, or obsoleted by other documents at any
|
2004-08-28 02:41:02 +08:00
|
|
|
|
time. It is inappropriate to use Internet-Drafts as reference material
|
|
|
|
|
or to cite them other than as "work in progress."
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
|
|
|
|
The list of current Internet-Drafts can be accessed at
|
2005-11-26 03:23:13 +08:00
|
|
|
|
http://www.ietf.org/1id-abstracts.html
|
|
|
|
|
|
|
|
|
|
The list of Internet-Draft Shadow Directories can be accessed at
|
|
|
|
|
http://www.ietf.org/shadow.html
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
|
|
|
|
|
Copyright (C) The Internet Society (2005). All Rights Reserved.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2003-12-07 15:50:23 +08:00
|
|
|
|
Please see the Full Copyright section near the end of this document
|
|
|
|
|
for more information.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zeilenga Requesting Attributes by Object Class [Page 1]
|
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
INTERNET-DRAFT draft-zeilenga-ldap-adlist-11 18 July 2005
|
|
|
|
|
|
2004-08-28 02:41:02 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
Abstract
|
2004-08-28 02:41:02 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
The Lightweight Directory Access Protocol (LDAP) search operation
|
2004-08-28 02:41:02 +08:00
|
|
|
|
provides mechanisms for clients to request all user application
|
|
|
|
|
attributes, all operational attributes, and/or attributes selected by
|
|
|
|
|
their description. This document extends LDAP to support a mechanism
|
2005-11-26 03:23:13 +08:00
|
|
|
|
that LDAP clients may use to request the return of all attributes of
|
|
|
|
|
an object class.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
1. Background and Intended Use
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
In the Lightweight Directory Access Protocol (LDAP) [Roadmap], the
|
|
|
|
|
search operation [Protocol] support requesting the return of a set of
|
|
|
|
|
attributes. This set is determined by a list of attribute
|
|
|
|
|
descriptions. Two special descriptors are defined to request all user
|
|
|
|
|
attributes ("*") [Protocol] and all operational attributes ("+")
|
|
|
|
|
[RFC3673]. However, there is no convenient mechanism for requesting
|
|
|
|
|
pre-defined sets of attributes such as the set of attributes used to
|
|
|
|
|
represent a particular class of object.
|
2003-06-01 06:47:07 +08:00
|
|
|
|
|
|
|
|
|
This document extends LDAP to allow an object class identifier to be
|
2004-08-28 02:41:02 +08:00
|
|
|
|
specified in attributes lists, such as in Search requests, to request
|
|
|
|
|
the return all attributes belonging to an object class. The
|
|
|
|
|
COMMERCIAL AT ("@", U+0040) character is used to distinguish an object
|
|
|
|
|
class identifier from an attribute descriptions.
|
2003-06-01 06:47:07 +08:00
|
|
|
|
|
2004-08-28 02:41:02 +08:00
|
|
|
|
For example, the attribute list of "@country" is equivalent to the
|
2003-06-01 06:47:07 +08:00
|
|
|
|
attribute list of 'c', 'searchGuide', 'description', and
|
2005-11-26 03:23:13 +08:00
|
|
|
|
'objectClass'. This object class is described in [Schema].
|
2003-12-07 15:50:23 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
This extension is intended primarily to be used where the user is in
|
|
|
|
|
direct control of the parameters of the LDAP search operation, for
|
|
|
|
|
instance when entering a LDAP URL [LDAPURL] into a web browser. For
|
|
|
|
|
example, <ldap:///dc=example,dc=com?@organization?base>.
|
2003-12-07 15:50:23 +08:00
|
|
|
|
|
|
|
|
|
2. Terminology
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
|
|
|
|
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].
|
|
|
|
|
|
2003-12-07 15:50:23 +08:00
|
|
|
|
DSA stands for Directory System Agent (or server).
|
|
|
|
|
DSE stands for DSA-specific Entry.
|
|
|
|
|
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2003-12-07 15:50:23 +08:00
|
|
|
|
3. Return of all Attributes of an Object Class
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2003-12-07 15:50:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zeilenga Requesting Attributes by Object Class [Page 2]
|
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
INTERNET-DRAFT draft-zeilenga-ldap-adlist-11 18 July 2005
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2003-06-01 06:47:07 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
This extension allows object class identifiers is to be provided in
|
|
|
|
|
the attributes field of the LDAP SearchRequest [Protocol] or other
|
|
|
|
|
request values of the AttributeSelection data type (e.g., attributes
|
|
|
|
|
field in pre/post read controls [ReadEntry]) and/or
|
|
|
|
|
<attributeSelector> production (e.g., attributes of an LDAP URL
|
|
|
|
|
[LDAPURL]). For each object class identified in the attributes field,
|
|
|
|
|
the request is to be treated as if each attribute allowed by that
|
|
|
|
|
class (by "MUST" or "MAY", directly or by "SUP"erior) [Models] was
|
|
|
|
|
itself listed.
|
|
|
|
|
|
|
|
|
|
This extension extends attributeSelector [Protocol] production as
|
|
|
|
|
indicated by the following ABNF [ABNF]:
|
|
|
|
|
|
|
|
|
|
attributeSelector /= objectclassdescription
|
|
|
|
|
objectclassdescription = ATSIGN oid options
|
|
|
|
|
ATSIGN = %x40 ; COMMERCIAL AT ("@" U+0040)
|
|
|
|
|
|
|
|
|
|
where <oid> and <options> productions are as defined in [Models].
|
|
|
|
|
|
|
|
|
|
The <oid> component of an <objectclassdescription> production
|
|
|
|
|
identifies the object class by short name (descr) or object identifier
|
|
|
|
|
(numericoid). If the value of the <oid> component is unrecognized or
|
|
|
|
|
does not refer to an object class, the object class description is be
|
|
|
|
|
treated an an unrecognized attribute description.
|
|
|
|
|
|
|
|
|
|
The <options> production is included in the grammar for extensibility
|
|
|
|
|
purposes. An object class description with an unrecognized or
|
|
|
|
|
inappropriate option is to be treated as an unrecognized.
|
|
|
|
|
|
|
|
|
|
While object class description options and attribute description
|
|
|
|
|
options share the same syntax, they are not semantically related.
|
|
|
|
|
This document does not define any object description option.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2003-12-07 15:50:23 +08:00
|
|
|
|
Servers supporting this feature SHOULD publish the object identifier
|
2005-11-26 03:23:13 +08:00
|
|
|
|
(OID) 1.3.6.1.4.1.4203.1.5.2 as a value of the 'supportedFeatures'
|
|
|
|
|
[Models] attribute in the root DSE. Clients supporting this feature
|
2003-12-07 15:50:23 +08:00
|
|
|
|
SHOULD NOT use the feature unless they have knowledge the server
|
|
|
|
|
supports it.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3. Security Considerations
|
|
|
|
|
|
|
|
|
|
This extension provides a shorthand for requesting all attributes of
|
|
|
|
|
an object class. As these attributes which could have been listed
|
2005-11-26 03:23:13 +08:00
|
|
|
|
individually, introduction of this shorthand is not believed to raise
|
|
|
|
|
additional security considerations.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
Implementors of this LDAP extension should be familiar with security
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2003-12-07 15:50:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zeilenga Requesting Attributes by Object Class [Page 3]
|
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
INTERNET-DRAFT draft-zeilenga-ldap-adlist-11 18 July 2005
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
considerations applicable to the LDAP search operation [Protocol], as
|
|
|
|
|
well as general LDAP security considerations [Roadmap].
|
2003-12-07 15:50:23 +08:00
|
|
|
|
|
|
|
|
|
|
2004-08-28 02:41:02 +08:00
|
|
|
|
4. IANA Considerations
|
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
Registration of the LDAP Protocol Mechanism [BCP64bis] defined in
|
2004-08-28 02:41:02 +08:00
|
|
|
|
document is requested.
|
|
|
|
|
|
2003-12-07 15:50:23 +08:00
|
|
|
|
Subject: Request for LDAP Protocol Mechanism Registration
|
2003-06-01 06:47:07 +08:00
|
|
|
|
Object Identifier: 1.3.6.1.4.1.4203.1.5.2
|
|
|
|
|
Description: OC AD Lists
|
|
|
|
|
Person & email address to contact for further information:
|
|
|
|
|
Kurt Zeilenga <kurt@openldap.org>
|
|
|
|
|
Usage: Feature
|
2003-12-07 15:50:23 +08:00
|
|
|
|
Specification: RFC XXXX
|
2003-06-01 06:47:07 +08:00
|
|
|
|
Author/Change Controller: Kurt Zeilenga <kurt@openldap.org>
|
|
|
|
|
Comments: none
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2004-08-28 02:41:02 +08:00
|
|
|
|
This OID was assigned [ASSIGN] by OpenLDAP Foundation, under its
|
|
|
|
|
IANA-assigned private enterprise allocation [PRIVATE], for use in this
|
|
|
|
|
specification.
|
|
|
|
|
|
2003-06-01 06:47:07 +08:00
|
|
|
|
|
2002-06-07 09:58:40 +08:00
|
|
|
|
5. Author's Address
|
|
|
|
|
|
|
|
|
|
Kurt D. Zeilenga
|
|
|
|
|
OpenLDAP Foundation
|
2004-08-28 02:41:02 +08:00
|
|
|
|
|
|
|
|
|
Email: Kurt@OpenLDAP.org
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
6. References
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
[[Note to the RFC Editor: please replace the citation tags used in
|
|
|
|
|
referencing Internet-Drafts with tags of the form RFCnnnn where
|
|
|
|
|
possible.]]
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2003-06-01 06:47:07 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
6.1. Normative References
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
|
|
|
|
|
Requirement Levels", BCP 14 (also RFC 2119), March 1997.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
[ABNF] Crocker, D. and P. Overell, "Augmented BNF for Syntax
|
|
|
|
|
Specifications: ABNF", draft-crocker-abnf-rfc2234bis, a
|
|
|
|
|
work in progress.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2004-08-28 02:41:02 +08:00
|
|
|
|
Zeilenga Requesting Attributes by Object Class [Page 4]
|
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
INTERNET-DRAFT draft-zeilenga-ldap-adlist-11 18 July 2005
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
[Roadmap] Zeilenga, K. (editor), "LDAP: Technical Specification
|
|
|
|
|
Road Map", draft-ietf-ldapbis-roadmap-xx.txt, a work in
|
|
|
|
|
progress.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
[Protocol] Sermersheim, J. (editor), "LDAP: The Protocol",
|
|
|
|
|
draft-ietf-ldapbis-protocol-xx.txt, a work in progress.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
[Models] Zeilenga, K. (editor), "LDAP: Directory Information
|
|
|
|
|
Models", draft-ietf-ldapbis-models-xx.txt, a work in
|
|
|
|
|
progress.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
[LDAPURL] Smith, M. (editor), "LDAP: Uniform Resource Locator",
|
|
|
|
|
draft-ietf-ldapbis-url-xx.txt, a work in progress.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
[X.680] International Telecommunication Union -
|
|
|
|
|
Telecommunication Standardization Sector, "Abstract
|
|
|
|
|
Syntax Notation One (ASN.1) - Specification of Basic
|
|
|
|
|
Notation", X.680(2002) (also ISO/IEC 8824-1:2002).
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2003-12-07 15:50:23 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
6.2. Informative References
|
2003-12-07 15:50:23 +08:00
|
|
|
|
|
2004-08-28 02:41:02 +08:00
|
|
|
|
[RFC3673] Zeilenga, K., "LDAPv3: All Operational Attributes", RFC
|
|
|
|
|
3673, December 2003.
|
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
[Schema] Dally, K. (editor), "LDAP: User Schema",
|
|
|
|
|
draft-ietf-ldapbis-user-schema-xx.txt, a work in
|
|
|
|
|
progress.
|
|
|
|
|
|
|
|
|
|
[BCP64bis] Zeilenga, K., "IANA Considerations for LDAP",
|
|
|
|
|
draft-ietf-ldapbis-bcp64-xx.txt, a work in progress.
|
|
|
|
|
|
|
|
|
|
[ReadEntry] Zeilenga, K., "LDAP Read Entry Controls",
|
2004-08-28 02:41:02 +08:00
|
|
|
|
draft-zeilenga-ldap-readentry-xx.txt, a work in
|
|
|
|
|
progress.
|
|
|
|
|
|
2003-12-07 15:50:23 +08:00
|
|
|
|
[ASSIGN] OpenLDAP Foundation, "OpenLDAP OID Delegations",
|
|
|
|
|
http://www.openldap.org/foundation/oid-delegate.txt.
|
|
|
|
|
|
|
|
|
|
[PRIVATE] IANA, "Private Enterprise Numbers",
|
|
|
|
|
http://www.iana.org/assignments/enterprise-numbers.
|
2003-06-01 06:47:07 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2003-12-07 15:50:23 +08:00
|
|
|
|
Full Copyright
|
2003-06-01 06:47:07 +08:00
|
|
|
|
|
2005-11-26 03:23:13 +08:00
|
|
|
|
Copyright (C) The Internet Society (2005).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zeilenga Requesting Attributes by Object Class [Page 5]
|
|
|
|
|
|
|
|
|
|
INTERNET-DRAFT draft-zeilenga-ldap-adlist-11 18 July 2005
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This document is subject to the rights, licenses and restrictions
|
|
|
|
|
contained in BCP 78, and except as set forth therein, the authors
|
|
|
|
|
retain all their rights.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2004-08-28 02:41:02 +08:00
|
|
|
|
This document and the information contained herein are provided on an
|
|
|
|
|
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
|
|
|
|
|
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
|
|
|
|
|
ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
|
|
|
|
|
INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
|
|
|
|
|
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
|
|
|
|
|
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2004-08-28 02:41:02 +08:00
|
|
|
|
Intellectual Property Rights
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2004-08-28 02:41:02 +08:00
|
|
|
|
The IETF takes no position regarding the validity or scope of any
|
|
|
|
|
Intellectual Property Rights 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; nor does it represent that it has
|
|
|
|
|
made any independent effort to identify any such rights. Information
|
|
|
|
|
on the procedures with respect to rights in RFC documents can be found
|
|
|
|
|
in BCP 78 and BCP 79.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2004-08-28 02:41:02 +08:00
|
|
|
|
Copies of IPR disclosures made to the IETF Secretariat 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 implementers or users of this specification
|
|
|
|
|
can be obtained from the IETF on-line IPR repository at
|
|
|
|
|
http://www.ietf.org/ipr.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
2004-08-28 02:41:02 +08:00
|
|
|
|
The IETF invites any interested party to bring to its attention any
|
|
|
|
|
copyrights, patents or patent applications, or other proprietary
|
|
|
|
|
rights that may cover technology that may be required to implement
|
|
|
|
|
this standard. Please address the information to the IETF at
|
|
|
|
|
ietf-ipr@ietf.org.
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2004-08-28 02:41:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zeilenga Requesting Attributes by Object Class [Page 6]
|
2002-06-07 09:58:40 +08:00
|
|
|
|
|