3671
PROPOSED STANDARD

Collective Attributes in the Lightweight Directory Access Protocol (LDAP)

Authors: K. Zeilenga
Date: December 2003
Working Group: NON WORKING GROUP
Stream: IETF

Abstract

X.500 collective attributes allow common characteristics to be shared between collections of entries. This document summarizes the X.500 information model for collective attributes and describes use of collective attributes in LDAP (Lightweight Directory Access Protocol). This document provides schema definitions for collective attributes for use in LDAP.

RFC 3671: Collective Attributes in the Lightweight Directory Access Protocol (LDAP) [RFC Home] [TEXT|PDF|HTML] [Tracker] [IPR] [Info page]

PROPOSED STANDARD
Network Working Group                                        K. Zeilenga
Request for Comments: 3671                           OpenLDAP Foundation
Category: Standards Track                                  December 2003


                        <span class="h1">Collective Attributes in</span>
            <span class="h1">the Lightweight Directory Access Protocol (LDAP)</span>

Status of this Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (2003).  All Rights Reserved.

Abstract

   X.500 collective attributes allow common characteristics to be shared
   between collections of entries.  This document summarizes the X.500
   information model for collective attributes and describes use of
   collective attributes in LDAP (Lightweight Directory Access
   Protocol).  This document provides schema definitions for collective
   attributes for use in LDAP.

<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>.  Introduction</span>

   In X.500 [<a href="#ref-X.500" title=""The Directory: Overview of Concepts, Models"">X.500</a>], a collective attribute is "a user attribute whose
   values are the same for each member of an entry collection" [<a href="#ref-X.501" title=""The Directory: Models"">X.501</a>].
   This document details their use in the Lightweight Directory Access
   Protocol (LDAP) [<a href="./rfc3377" title=""Lightweight Directory Access Protocol (v3): Technical Specification"">RFC3377</a>].

<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>.  Entry Collections</span>

   A collection of entries is a grouping of object and alias entries
   based upon common properties or shared relationship between the
   corresponding entries which share certain attributes.  An entry
   collection consists of all entries within scope of a collective
   attributes subentry [<a href="./rfc3672" title=""Subentries in Lightweight Directory Access Protocol (LDAP)"">RFC3672</a>].  An entry can belong to several entry
   collections.







<span class="grey">Zeilenga                    Standards Track                     [Page 1]</span>

<span id="page-2" ></span>
<span class="grey"><a href="./rfc3671">RFC 3671</a>             Collective Attributes in LDAP         December 2003</span>


<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>.  Collective Attributes</span>

   Attributes shared by the entries comprising an entry collection are
   called collective attributes.  Values of collective attributes are
   visible but not updateable to clients accessing entries within the
   collection.  Collective attributes are updated (i.e., modified) via
   their associated collective attributes subentry.

   When an entry belongs to multiple entry collections, the entry's
   values of each collective attribute are combined such that
   independent sources of these values are not manifested to clients.

   Entries can specifically exclude a particular collective attribute by
   listing the attribute as a value of the collectiveExclusions
   attribute.  Like other user attributes, collective attributes are
   subject to a variety of controls including access, administrative,
   and content controls.

<span class="h3"><a class="selflink" id="section-1.3" href="#section-1.3">1.3</a>.  Conventions</span>

   Schema definitions are provided using LDAPv3 [<a href="./rfc2251" title=""Lightweight Directory Access Protocol (v3)"">RFC2251</a>] description
   formats [<a href="./rfc2252" title=""Lightweight Directory Access Protocol (v3): Attribute Syntax Definitions"">RFC2252</a>].  Definitions provided here are formatted (line
   wrapped) for readability.

   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 <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].

<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>.  System Schema for Collective Attributes</span>

   The following operational attributes are used to manage Collective
   Attributes.  LDAP servers [<a href="./rfc3377" title=""Lightweight Directory Access Protocol (v3): Technical Specification"">RFC3377</a>] MUST act in accordance with the
   X.500 Directory Models [<a href="#ref-X.501" title=""The Directory: Models"">X.501</a>] when providing this service.

<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>.  collectiveAttributeSubentry</span>

   Subentries of this object class are used to administer collective
   attributes and are referred to as collective attribute subentries.

      ( 2.5.17.2 NAME 'collectiveAttributeSubentry' AUXILIARY )

   A collective attribute subentry SHOULD contain at least one
   collective attribute.  The collective attributes contained within a
   collective attribute subentry are available for finding, searching,
   and comparison at every entry within the scope of the subentry.  The
   collective attributes, however, are administered (e.g., modified) via
   the subentry.




<span class="grey">Zeilenga                    Standards Track                     [Page 2]</span>

<span id="page-3" ></span>
<span class="grey"><a href="./rfc3671">RFC 3671</a>             Collective Attributes in LDAP         December 2003</span>


   Implementations of this specification SHOULD support collective
   attribute subentries in both collectiveAttributeSpecificArea
   (2.5.23.5) and collectiveAttributeInnerArea (2.5.23.6) administrative
   areas [<a href="./rfc3672" title=""Subentries in Lightweight Directory Access Protocol (LDAP)"">RFC3672</a>][X.501].

<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>.  collectiveAttributeSubentries</span>

   The collectiveAttributeSubentries operational attribute identifies
   all collective attribute subentries that affect the entry.

      ( 2.5.18.12 NAME 'collectiveAttributeSubentries'
        EQUALITY distinguishedNameMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
        USAGE directoryOperation NO-USER-MODIFICATION )

<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a>.  collectiveExclusions</span>

   The collectiveExclusions operational attribute allows particular
   collective attributes to be excluded from an entry.  It MAY appear in
   any entry and MAY have multiple values.

      ( 2.5.18.7 NAME 'collectiveExclusions'
        EQUALITY objectIdentifierMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.38
        USAGE directoryOperation )

   The descriptor excludeAllCollectiveAttributes is associated with the
   OID 2.5.18.0.  When this descriptor or OID is present as a value of
   the collectiveExclusions attribute, all collective attributes are
   excluded from an entry.

<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>.  Collective Attribute Types</span>

   A userApplications attribute type can be defined to be COLLECTIVE
   [<a href="./rfc2252" title=""Lightweight Directory Access Protocol (v3): Attribute Syntax Definitions"">RFC2252</a>].  This indicates that the same attribute values will appear
   in the entries of an entry collection subject to the use of the
   collectiveExclusions attribute and other administrative controls.
   These administrative controls MAY include DIT Content Rules, if
   implemented.

   Collective attribute types are commonly defined as subtypes of non-
   collective attribute types.  By convention, collective attributes are
   named by prefixing the name of their non-collective supertype with
   "c-".  For example, the collective telephone attribute is named
   c-TelephoneNumber after its non-collective supertype telephoneNumber.

   Non-collective attributes types SHALL NOT subtype collective
   attributes.



<span class="grey">Zeilenga                    Standards Track                     [Page 3]</span>

<span id="page-4" ></span>
<span class="grey"><a href="./rfc3671">RFC 3671</a>             Collective Attributes in LDAP         December 2003</span>


   Collective attributes SHALL NOT be SINGLE-VALUED.  Collective
   attribute types SHALL NOT appear in the attribute types of an object
   class definition.

   Operational attributes SHALL NOT be defined to be collective.

   The remainder of section provides a summary of collective attributes
   derived from those defined in [<a href="#ref-X.520" title=""The Directory: Selected Attribute Types"">X.520</a>].  The SUPerior attribute types
   are described in [<a href="./rfc2256">RFC 2256</a>] for use with LDAP.

   Implementations of this specification SHOULD support the following
   collective attributes and MAY support additional collective
   attributes.

<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>.  Collective Locality Name</span>

   The c-l attribute type specifies a locality name for a collection of
   entries.

      ( 2.5.4.7.1 NAME 'c-l'
        SUP l COLLECTIVE )

<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>.  Collective State or Province Name</span>

   The c-st attribute type specifies a state or province name for a
   collection of entries.

      ( 2.5.4.8.1 NAME 'c-st'
        SUP st COLLECTIVE )

<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>.  Collective Street Address</span>

   The c-street attribute type specifies a street address for a
   collection of entries.

      ( 2.5.4.9.1 NAME 'c-street'
        SUP street COLLECTIVE )

<span class="h3"><a class="selflink" id="section-3.4" href="#section-3.4">3.4</a>.  Collective Organization Name</span>

   The c-o attribute type specifies an organization name for a
   collection of entries.

      ( 2.5.4.10.1 NAME 'c-o'
        SUP o COLLECTIVE )






<span class="grey">Zeilenga                    Standards Track                     [Page 4]</span>

<span id="page-5" ></span>
<span class="grey"><a href="./rfc3671">RFC 3671</a>             Collective Attributes in LDAP         December 2003</span>


<span class="h3"><a class="selflink" id="section-3.5" href="#section-3.5">3.5</a>.  Collective Organizational Unit Name</span>

   The c-ou attribute type specifies an organizational unit name for a
   collection of entries.

      ( 2.5.4.11.1 NAME 'c-ou'
        SUP ou COLLECTIVE )

<span class="h3"><a class="selflink" id="section-3.6" href="#section-3.6">3.6</a>.  Collective Postal Address</span>

   The c-PostalAddress attribute type specifies a postal address for a
   collection of entries.

      ( 2.5.4.16.1 NAME 'c-PostalAddress'
        SUP postalAddress COLLECTIVE )

<span class="h3"><a class="selflink" id="section-3.7" href="#section-3.7">3.7</a>.  Collective Postal Code</span>

   The c-PostalCode attribute type specifies a postal code for a
   collection of entries.

      ( 2.5.4.17.1 NAME 'c-PostalCode'
        SUP postalCode COLLECTIVE )

<span class="h3"><a class="selflink" id="section-3.8" href="#section-3.8">3.8</a>.  Collective Post Office Box</span>

   The c-PostOfficeBox attribute type specifies a post office box for a
   collection of entries.

      ( 2.5.4.18.1 NAME 'c-PostOfficeBox'
        SUP postOfficeBox COLLECTIVE )

<span class="h3"><a class="selflink" id="section-3.9" href="#section-3.9">3.9</a>.  Collective Physical Delivery Office Name</span>

   The c-PhysicalDeliveryOfficeName attribute type specifies a physical
   delivery office name for a collection of entries.

      ( 2.5.4.19.1 NAME 'c-PhysicalDeliveryOfficeName'
        SUP physicalDeliveryOfficeName COLLECTIVE )

<span class="h3"><a class="selflink" id="section-3.10" href="#section-3.10">3.10</a>.  Collective Telephone Number</span>

   The c-TelephoneNumber attribute type specifies a telephone number for
   a collection of entries.

      ( 2.5.4.20.1 NAME 'c-TelephoneNumber'
        SUP telephoneNumber COLLECTIVE )




<span class="grey">Zeilenga                    Standards Track                     [Page 5]</span>

<span id="page-6" ></span>
<span class="grey"><a href="./rfc3671">RFC 3671</a>             Collective Attributes in LDAP         December 2003</span>


<span class="h3"><a class="selflink" id="section-3.11" href="#section-3.11">3.11</a>.  Collective Telex Number</span>

   The c-TelexNumber attribute type specifies a telex number for a
   collection of entries.

      ( 2.5.4.21.1 NAME 'c-TelexNumber'
        SUP telexNumber COLLECTIVE )

<span class="h3"><a class="selflink" id="section-3.13" href="#section-3.13">3.13</a>.  Collective Facsimile Telephone Number</span>

   The c-FacsimileTelephoneNumber attribute type specifies a facsimile
   telephone number for a collection of entries.

      ( 2.5.4.23.1 NAME 'c-FacsimileTelephoneNumber'

   SUP facsimileTelephoneNumber COLLECTIVE )

<span class="h3"><a class="selflink" id="section-3.14" href="#section-3.14">3.14</a>.  Collective International ISDN Number</span>

   The c-InternationalISDNNumber attribute type specifies an
   international ISDN number for a collection of entries.

      ( 2.5.4.25.1 NAME 'c-InternationalISDNNumber'
        SUP internationalISDNNumber COLLECTIVE )

<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>.  Security Considerations</span>

   Collective attributes, like other attributes, are subject to access
   control restrictions and other administrative policy.  Generally
   speaking, collective attributes accessed via an entry in a collection
   are governed by rules restricting access to attributes of that entry.
   And collective attributes access via a subentry are governed by rules
   restricting access to attributes of that subentry.  However, as LDAP
   does not have a standard access model, the particulars of each
   server's access control system may differ.

   General LDAP security considerations [<a href="./rfc3377" title=""Lightweight Directory Access Protocol (v3): Technical Specification"">RFC3377</a>] also apply.














<span class="grey">Zeilenga                    Standards Track                     [Page 6]</span>

<span id="page-7" ></span>
<span class="grey"><a href="./rfc3671">RFC 3671</a>             Collective Attributes in LDAP         December 2003</span>


<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>.  IANA Considerations</span>

   The IANA has registered the LDAP descriptors [<a href="./rfc3383" title=""Internet Assigned Numbers Authority (IANA) Considerations for the Lightweight Directory Access Protocol (LDAP)"">RFC3383</a>] defined in
   this technical specification.  The following registration template is
   suggested:

      Subject: Request for LDAP Descriptor Registration
      Descriptor see comments
      Object Identifier: see comment
      Person & email address to contact for further information:
           Kurt Zeilenga <kurt@OpenLDAP.org>
      Usage: see comment
      Specification: <a href="./rfc3671">RFC3671</a>
      Author/Change Controller: IESG
      Comments:

         NAME                           Type OID
         ------------------------       ---- -----------------
         c-FacsimileTelephoneNumber     A    2.5.4.23.1
         c-InternationalISDNNumber      A    2.5.4.25.1
         c-PhysicalDeliveryOffice       A    2.5.4.19.1
         c-PostOfficeBox                A    2.5.4.18.1
         c-PostalAddress                A    2.5.4.16.1
         c-PostalCode                   A    2.5.4.17.1
         c-TelephoneNumber              A    2.5.4.20.1
         c-TelexNumber                  A    2.5.4.21.1
         c-l                            A    2.5.4.7.1
         c-o                            A    2.5.4.10.1
         c-ou                           A    2.5.4.11.1
         c-st                           A    2.5.4.8.1
         c-street                       A    2.5.4.9.1
         collectiveAttributeSubentries  A    2.5.18.12
         collectiveAttributeSubentry    O    2.5.17.2
         collectiveExclusions           A    2.5.18.7

      where Type A is Attribute and Type O is ObjectClass.

   The Object Identifiers used in this document were assigned by the
   ISO/IEC Joint Technical Committee 1 - Subcommittee 6 to identify
   elements of X.500 schema [<a href="#ref-X.520" title=""The Directory: Selected Attribute Types"">X.520</a>].  This document make no OID
   assignments, it only provides LDAP schema descriptions with existing
   elements of X.500 schema.









<span class="grey">Zeilenga                    Standards Track                     [Page 7]</span>

<span id="page-8" ></span>
<span class="grey"><a href="./rfc3671">RFC 3671</a>             Collective Attributes in LDAP         December 2003</span>


<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>.  Intellectual Property Statement</span>

   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 <a href="https://www.rfc-editor.org/bcp/bcp11">BCP-11</a>.  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.

<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>.  Acknowledgments</span>

   This document is based upon the ITU Recommendations for the Directory
   [<a href="#ref-X.501" title=""The Directory: Models"">X.501</a>][X.520].

<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>.  References</span>

<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>.  Normative References</span>

   [<a id="ref-RFC2119">RFC2119</a>]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.

   [<a id="ref-RFC2251">RFC2251</a>]  Wahl, M., Howes, T. and S. Kille, "Lightweight Directory
              Access Protocol (v3)", <a href="./rfc2251">RFC 2251</a>, December 1997.

   [<a id="ref-RFC2252">RFC2252</a>]  Wahl, M., Coulbeck, A., Howes, T. and S. Kille,
              "Lightweight Directory Access Protocol (v3):  Attribute
              Syntax Definitions", <a href="./rfc2252">RFC 2252</a>, December 1997.

   [<a id="ref-RFC2256">RFC2256</a>]  Wahl, M., "A Summary of the X.500(96) User Schema for use
              with LDAPv3", <a href="./rfc2256">RFC 2256</a>, December 1997.

   [<a id="ref-RFC3377">RFC3377</a>]  Hodges, J. and R. L. Morgan, "Lightweight Directory Access
              Protocol (v3): Technical Specification", <a href="./rfc3377">RFC 3377</a>,
              September 2002.




<span class="grey">Zeilenga                    Standards Track                     [Page 8]</span>

<span id="page-9" ></span>
<span class="grey"><a href="./rfc3671">RFC 3671</a>             Collective Attributes in LDAP         December 2003</span>


   [<a id="ref-RFC3383">RFC3383</a>]  Zeilenga, K., "Internet Assigned Numbers Authority (IANA)
              Considerations for the Lightweight Directory Access
              Protocol (LDAP)", <a href="https://www.rfc-editor.org/bcp/bcp64">BCP 64</a>, <a href="./rfc3383">RFC 3383</a>, September 2002.

   [<a id="ref-RFC3672">RFC3672</a>]  Zeilenga, K. and S. Legg, "Subentries in Lightweight
              Directory Access Protocol (LDAP)", <a href="./rfc3672">RFC 3672</a>, December
              2003.

   [<a id="ref-X.501">X.501</a>]    "The Directory: Models", ITU-T Recommendation X.501, 1993.

<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>.  Informative References</span>

   [<a id="ref-X.500">X.500</a>]    "The Directory: Overview of Concepts, Models", ITU-T
              Recommendation X.500, 1993.

   [<a id="ref-X.520">X.520</a>]    "The Directory: Selected Attribute Types", ITU-T
              Recommendation X.520, 1993.

<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>.  Author's Address</span>

   Kurt D. Zeilenga
   OpenLDAP Foundation

   EMail: [email protected]



























<span class="grey">Zeilenga                    Standards Track                     [Page 9]</span>

<span id="page-10" ></span>
<span class="grey"><a href="./rfc3671">RFC 3671</a>             Collective Attributes in LDAP         December 2003</span>


<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>.  Full Copyright Statement</span>

   Copyright (C) The Internet Society (2003).  All Rights Reserved.

   This document and translations of it may be copied and furnished to
   others, and derivative works that comment on or otherwise explain it
   or assist in its implementation may be prepared, copied, published
   and distributed, in whole or in part, without restriction of any
   kind, provided that the above copyright notice and this paragraph are
   included on all such copies and derivative works.  However, this
   document itself may not be modified in any way, such as by removing
   the copyright notice or references to the Internet Society or other
   Internet organizations, except as needed for the purpose of
   developing Internet standards in which case the procedures for
   copyrights defined in the Internet Standards process must be
   followed, or as required to translate it into languages other than
   English.

   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assignees.

   This document and the information contained herein is provided on an
   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
   TASK FORCE DISCLAIMS 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.

Acknowledgement

   Funding for the RFC Editor function is currently provided by the
   Internet Society.



















Zeilenga                    Standards Track                    [Page 10]

Additional Resources