[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8341) Matching rules for 'namingContexts'



This is a multi-part message in MIME format.
--------------090808030207050404060004
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit

Find attached the very trivial patch applied to git master for adding the
EQUALITY matching rule to attribute type description for 'namingContexts'.

Successfully tested.

--------------090808030207050404060004
Content-Type: text/x-patch;
 name="openldap-patch-its8341.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="openldap-patch-its8341.diff"

diff --git a/servers/slapd/schema_prep.c b/servers/slapd/schema_prep.c
index 5630a95..b583e3d 100644
--- a/servers/slapd/schema_prep.c
+++ b/servers/slapd/schema_prep.c
@@ -633,6 +633,7 @@ static struct slap_schema_ad_map {
 	{ "namingContexts", "( 1.3.6.1.4.1.1466.101.120.5 "
 			"NAME 'namingContexts' "
 			"DESC 'RFC4512: naming contexts' "
+			"EQUALITY distinguishedNameMatch "
 			"SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 USAGE dSAOperation )",
 		rootDseAttribute, 0,
 		NULL, NULL,

--------------090808030207050404060004--