From 00ae87dc6d373f239529174eb155b43aaffee0ea Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Sun, 22 Oct 2006 23:29:33 +0000
Subject: [PATCH] Update the groupOfNames objectclass to make the member attribute optional, and update the groupOfUniqueNames objectclass to make the uniqueMember attribute optional.  This varies from the standard definition in RFC 4519, but it makes more sense for them to be optional.  It provides better compatibility with the Sun Java System Directory Server, and it greatly simplifies problems like how to handle an attempt to delete a user account if referential integrity is enabled and that user is the last remaining member in a group.

---
 opends/resource/schema/00-core.ldif |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/resource/schema/00-core.ldif b/opends/resource/schema/00-core.ldif
index 8946827..6b9763e 100644
--- a/opends/resource/schema/00-core.ldif
+++ b/opends/resource/schema/00-core.ldif
@@ -408,7 +408,7 @@
   postalCode $ postalAddress $ physicalDeliveryOfficeName $ ou $ st $ l $
   description ) X-ORIGIN 'RFC 2256' )
 objectClasses: ( 2.5.6.9 NAME 'groupOfNames' SUP top STRUCTURAL
-  MUST ( member $ cn ) MAY ( businessCategory $ seeAlso $ owner $ ou $ o $
+  MUST cn MAY ( member $ businessCategory $ seeAlso $ owner $ ou $ o $
   description ) X-ORIGIN 'RFC 2256' )
 objectClasses: ( 2.5.6.10 NAME 'residentialPerson' SUP person STRUCTURAL MUST l
   MAY ( businessCategory $ x121Address $ registeredAddress $
@@ -435,7 +435,7 @@
   SUP certificationAuthority AUXILIARY MAY deltaRevocationList
   X-ORIGIN 'RFC 2256' )
 objectClasses: ( 2.5.6.17 NAME 'groupOfUniqueNames' SUP top STRUCTURAL
-  MUST ( uniqueMember $ cn ) MAY ( businessCategory $ seeAlso $ owner $ ou $ o $
+  MUST cn MAY ( uniqueMember $ businessCategory $ seeAlso $ owner $ ou $ o $
   description ) X-ORIGIN 'RFC 2256' )
 objectClasses: ( 2.5.6.18 NAME 'userSecurityInformation' SUP top AUXILIARY
   MAY ( supportedAlgorithms ) X-ORIGIN 'RFC 2256' )

--
Gitblit v1.10.0