From 7c774e1356257bd64273760740f2464f2d6661fb Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 09 Jan 2007 20:20:30 +0000
Subject: [PATCH] Update the schema backend to provide full support for online schema updates. which includes the following:

---
 opends/src/server/org/opends/server/plugins/EntryUUIDPlugin.java |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/opends/src/server/org/opends/server/plugins/EntryUUIDPlugin.java b/opends/src/server/org/opends/server/plugins/EntryUUIDPlugin.java
index a8767cd..dffb210 100644
--- a/opends/src/server/org/opends/server/plugins/EntryUUIDPlugin.java
+++ b/opends/src/server/org/opends/server/plugins/EntryUUIDPlugin.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Portions Copyright 2006 Sun Microsystems, Inc.
+ *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
  */
 package org.opends.server.plugins;
 
@@ -110,9 +110,15 @@
                                                         false);
     if (at == null)
     {
-      at = new AttributeType(ENTRYUUID, Collections.singleton(ENTRYUUID),
-                             ENTRYUUID, null, null,
-                             DirectoryConfig.getDefaultAttributeSyntax(),
+      String definition =
+           "( 1.3.6.1.1.16.4 NAME 'entryUUID' DESC 'UUID of the entry' " +
+           "EQUALITY uuidMatch ORDERING uuidOrderingMatch " +
+           "SYNTAX 1.3.6.1.1.16.1 SINGLE-VALUE NO-USER-MODIFICATION " +
+           "USAGE directoryOperation X-ORIGIN 'RFC 4530' )";
+
+      at = new AttributeType(definition, ENTRYUUID,
+                             Collections.singleton(ENTRYUUID), ENTRYUUID, null,
+                             null, DirectoryConfig.getDefaultAttributeSyntax(),
                              AttributeUsage.DIRECTORY_OPERATION, false, true,
                              false, true);
     }

--
Gitblit v1.10.0