From 03bbaa5fcbf6a65c1f7347fa3c189d08f79c060f Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Sun, 24 Jun 2007 22:19:02 +0000
Subject: [PATCH] Migrate the attribute syntax configuration to the admin framework.

---
 opends/src/server/org/opends/server/admin/server/DNBuilder.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/admin/server/DNBuilder.java b/opends/src/server/org/opends/server/admin/server/DNBuilder.java
index 3d89202..1a832f4 100644
--- a/opends/src/server/org/opends/server/admin/server/DNBuilder.java
+++ b/opends/src/server/org/opends/server/admin/server/DNBuilder.java
@@ -132,7 +132,8 @@
 
     // Now add the single RDN representing the named instance.
     String type = profile.getInstantiableRelationChildRDNType(r);
-    AttributeType atype = DirectoryServer.getAttributeType(type.toLowerCase());
+    AttributeType atype = DirectoryServer.getAttributeType(type.toLowerCase(),
+                                                           true);
     AttributeValue avalue = new AttributeValue(atype, name);
     dn = dn.concat(RDN.create(atype, avalue));
   }

--
Gitblit v1.10.0