[ldapext] groupOfEntries object class proposal
Andrew Findlay <andrew.findlay@skills-1st.co.uk> Mon, 17 September 2007 14:33 UTC
Return-path: <ldapext-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1IXHfd-0007y9-JL; Mon, 17 Sep 2007 10:33:53 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IXHfc-0007xR-4O for ldapext@ietf.org; Mon, 17 Sep 2007 10:33:52 -0400
Received: from cat.ourshack.com ([212.74.28.153]) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IXHfY-0007yO-QV for ldapext@ietf.org; Mon, 17 Sep 2007 10:33:49 -0400
Received: from 88-97-25-132.dsl.zen.co.uk ([88.97.25.132] helo=tile.skills-1st.co.uk) by cat.ourshack.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from <andrew.findlay@skills-1st.co.uk>) id 1IXHfX-000FDH-9w for ldapext@ietf.org; Mon, 17 Sep 2007 15:33:47 +0100
Received: from andrew by tile.skills-1st.co.uk with local (Exim 4.63) (envelope-from <andrew.findlay@skills-1st.co.uk>) id 1IXHfM-0001tQ-C7 for ldapext@ietf.org; Mon, 17 Sep 2007 15:33:36 +0100
Date: Mon, 17 Sep 2007 15:33:36 +0100
From: Andrew Findlay <andrew.findlay@skills-1st.co.uk>
To: ldapext@ietf.org
Message-ID: <20070917143336.GA7266@tile.skills-1st.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
User-Agent: Mutt/1.5.13 (2006-08-11)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 162d87dc0b780d17da9b1934777fd451
Subject: [ldapext] groupOfEntries object class proposal
X-BeenThere: ldapext@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: LDAP Extension Working Group <ldapext.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>, <mailto:ldapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/ldapext>
List-Post: <mailto:ldapext@ietf.org>
List-Help: <mailto:ldapext-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>, <mailto:ldapext-request@ietf.org?subject=subscribe>
Errors-To: ldapext-bounces@ietf.org
At the recent LDAP conference in Cologne there was wide support for an effort to improve some of the commonly-used schema definitions. In particular, the fact that groupOfNames does not permit an empty group was felt to be a significant problem. To address this problem, I have published an I-D proposing a new objectclass called groupOfEntries. The I-D is appended and is also available at: http://www.ietf.org/internet-drafts/draft-findlay-ldap-groupofentries-00.txt To make adoption as easy as possible, the new object class is identical to groupOfNames except that it has the ability to describe empty groups without resorting to tricks and workarounds. I would like to see this new class used in place of groupOfNames in new designs, so I propose to ask IETF to consider the draft for the Standards Track. Comments and suggestions for improvement are welcome, and should be sent to the ldapext@ietf.org mailing list. Andrew -- ----------------------------------------------------------------------- | From Andrew Findlay, Skills 1st Ltd | | Consultant in large-scale systems, networks, and directory services | | http://www.skills-1st.co.uk/ +44 1628 782565 | ----------------------------------------------------------------------- Network Working Group A. Findlay Internet-Draft Skills 1st Ltd Expires: March 16, 2008 September 13, 2007 The LDAP groupOfEntries object class draft-findlay-ldap-groupofentries-00 Status of this Memo 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. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet- Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt. The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. This Internet-Draft will expire on March 16, 2008. Copyright Notice Copyright (C) The IETF Trust (2007). Abstract This memo describes the LDAP groupOfEntries object class which is a replacement for the existing groupOfNames class. The new class permits the creation of empty groups. If approved as a Standards Track document, this document will update RFC4519 [2] Document Intent This document is intended to be, after appropriate review and revision, submitted to the RFC Editor as a Standards Track document. Distribution of this memo is unlimited. Technical discussion of this document will take place on the IETF LDAP Extensions mailing list <ldapext@ietf.org>. Please send editorial comments directly to the author <andrew.findlay@skills-1st.co.uk> 1. Introduction A groupOfNames object class has existed since the earliest X.521 [1] standard. It has an identical definition in LDAP (RFC4519 [2]). The class is used to define entries holding DN-valued member attributes, each value pointing to an entry that represents a single member of the group being described, or to another entry of type groupOfNames. groupOfNames is a structural object class, so it is often the only class used in the definition of group objects. Experience has shown that the definition of groupOfNames causes difficulties in practice. In particular, the fact that 'member' is a mandatory attribute means that it is not possible to create an empty group or to delete the last member from a group. This leads to artificial tricks such as making every group a member of itself, or adding a dummy member to every group when it is created. These tricks in turn make the management of groups more complex and prone to error. Groups are commonly used to control access to resources, so management errors can lead to security risks. There does not appear to be any good reason for the 'member' attribute to be mandatory. This memo describes a new object class called groupOfEntries that is equivalent to groupOfNames in all other respects but which makes 'member' an optional attribute. 2. The existing groupOfNames object class RFC4519 [2] contains this definition: The 'groupOfNames' object class is the basis of an entry that represents a set of named objects including information related to the purpose or maintenance of the set. (Source: X.521 [1]) ( 2.5.6.9 NAME 'groupOfNames' SUP top STRUCTURAL MUST ( member $ cn ) MAY ( businessCategory $ seeAlso $ owner $ ou $ o $ description ) ) The inclusion of 'member' in the 'MUST' section of the definition prevents empty groups from being created. 3. The groupOfEntries object class The 'groupOfEntries' object class is the basis of an entry that represents a set of named objects including information related to the purpose or maintenance of the set. It should be used in preference to the 'groupOfNames' object class. ( 1.2.826.0.1.3458854.2.1.1.1 NAME 'groupOfEntries' SUP top STRUCTURAL MUST ( cn ) MAY ( member $ businessCategory $ seeAlso $ owner $ ou $ o $ description ) ) This object class allows groups to be empty. In all other respects it behaves like the groupOfNames object class. The OID assigned to this object class is delegated by Skills 1st Ltd. 4. Effect on other documents This draft deprecates the use of the groupOfNames object class in RFC4519 [2] and replaces it with the groupOfEntries class. 5. IANA considerations It is requested that IANA register upon Standards Action the groupOfEntries Object Identifier Descriptor and its associated OID. 6. Security considerations Groups are commonly used to define access permissions to directory entries and resources in other services. Allowing for empty groups avoids the risks associated with leaving a dummy placeholder member in group entries, so security is improved. Appendix A. Acknowledgements The author gratefully acknowledges the contributions of Michael Stroeder to the first draft of this document. 7. Informative References [1] "The Directory: Selected Object Classes", ITU-T Recommendation X.521, March 1988. [2] "LDAP: Schema for User Applications", RFC 4519, June 2006. Author's Address Andrew Findlay Skills 1st Ltd 2 Cedar Chase Taplow Maidenhead SL6 0EU GB Phone: +44 1628 782565 Email: andrew.findlay@skills-1st.co.uk URI: http://www.skills-1st.co.uk/ Full Copyright Statement Copyright (C) The IETF Trust (2007). 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. 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, THE IETF TRUST 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. Intellectual Property 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. 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. 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. Acknowledgment Funding for the RFC Editor function is provided by the IETF Administrative Support Activity (IASA). _______________________________________________ Ldapext mailing list Ldapext@ietf.org https://www1.ietf.org/mailman/listinfo/ldapext
- [ldapext] groupOfEntries object class proposal Andrew Findlay
- Re: [ldapext] groupOfEntries object class proposal Luke Howard
- RE: [ldapext] groupOfEntries object class proposal Neal-Joslin, Robert (HP-UX Lab R&D)
- Re: [ldapext] groupOfEntries object class proposal Luke Howard
- Re: [ldapext] groupOfEntries object class proposal Howard Chu
- RE: [ldapext] groupOfEntries object class proposal Ramsay, Ron
- RE: [ldapext] groupOfEntries object class proposal Ramsay, Ron
- Re: [ldapext] groupOfEntries object class proposal Howard Chu
- Re: [ldapext] groupOfEntries object class proposal Michael Ströder
- Re: [ldapext] groupOfEntries object class proposal Michael Ströder
- Re: [ldapext] groupOfEntries object class proposal Michael Ströder
- Re: [ldapext] groupOfEntries object class proposal Neil Dunbar
- Re: [ldapext] groupOfEntries object class proposal Andrew Findlay
- Re: [ldapext] deprecating groupOfUniqueNames Andrew Findlay
- Re: [ldapext] groupOfEntries object class proposal Andrew Findlay
- RE: [ldapext] groupOfEntries object class proposal Liben, Michael (GTI)
- Re: [ldapext] groupOfEntries object class proposal Andrew Findlay
- Re: [ldapext] groupOfEntries object class proposal Steven Legg
- Re: [ldapext] groupOfEntries object class proposal Steven Legg
- Re: [ldapext] groupOfEntries object class proposal Luke Howard
- Re: [ldapext] groupOfEntries object class proposal Andrew Findlay
- [ldapext] Nested group (was: groupOfEntries objec… Michael Ströder
- Re: [ldapext] groupOfEntries object class proposal Michael Ströder
- Re: [ldapext] groupOfEntries object class proposal Michael Ströder
- [ldapext] Nested group (was: groupOfEntries objec… Andrew Findlay
- Re: [ldapext] Nested group (was: groupOfEntries o… Andrew Findlay
- RE: [ldapext] Nested group (was: groupOfEntries o… Liben, Michael (GTI)
- Re: [ldapext] Nested group (was: groupOfEntries o… Andrew Findlay
- Re: [ldapext] Nested group (was: groupOfEntries o… simo
- Re: [ldapext] Nested group (was: groupOfEntries o… Andrew Findlay
- Re: [ldapext] Nested group (was: groupOfEntries o… simo
- RE: [ldapext] Nested group (was: groupOfEntries o… Liben, Michael (GTI)
- Re: [ldapext] Nested group Howard Chu
- Re: [ldapext] Nested group (was: groupOfEntries o… Andrew Findlay
- Re: [ldapext] Nested group (was: groupOfEntries o… simo
- Re: [ldapext] Nested group (was: groupOfEntries o… simo
- Re: [ldapext] Nested group simo
- Re: [ldapext] Nested group (was: groupOfEntries o… Andrew Findlay
- Re: [ldapext] Nested group (was: groupOfEntries o… Howard Chu
- Re: [ldapext] Nested group Howard Chu
- RE: [ldapext] Nested group Liben, Michael (GTI)
- Re: [ldapext] Nested group expansion control Howard Chu
- Re: [ldapext] Nested group (was: groupOfEntries o… simo
- Re: [ldapext] Nested group (was: groupOfEntries o… simo
- RE: [ldapext] Nested group (was: groupOfEntries o… Neal-Joslin, Robert (HP-UX Lab R&D)
- Re: [ldapext] Nested group (was: groupOfEntries o… Pete Rowley
- Re: [ldapext] Nested group (was: groupOfEntries o… Howard Chu
- Re: [ldapext] Nested group (was: groupOfEntries o… Andrew Findlay
- Re: [ldapext] Nested group (was: groupOfEntries o… simo
- Re: [ldapext] groupOfEntries object class proposal Pete Rowley
- Re: [ldapext] groupOfEntries object class proposal Howard Chu
- Re: [ldapext] groupOfEntries object class proposal Steven Legg
- Re: [ldapext] groupOfEntries object class proposal Kurt Zeilenga
- Re: [ldapext] groupOfEntries object class proposal Kurt Zeilenga
- Re: [ldapext] Nested group Steven Legg
- Re: [ldapext] Nested group Steven Legg
- Re: [ldapext] Nested group Luke Howard
- Re: [ldapext] Nested group (was: groupOfEntries o… Michael Ströder
- Re: [ldapext] Nested group Michael Ströder
- Re: [ldapext] Nested group (was: groupOfEntries o… Michael Ströder
- Re: [ldapext] Nested group Michael Ströder
- Re: [ldapext] groupOfEntries object class proposal Peter Gietz
- Re: [ldapext] groupOfEntries object class proposal Pete Rowley
- Re: [ldapext] Nested group Steven Legg