From 1478797a0485c554eefc11202919a8f2fefa84d8 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 24 Aug 2007 20:34:15 +0000
Subject: [PATCH] Update the default configuration to ensure that the uniqueMember attribute type is indexed for equality by default.  Also, include the ds-cfg-backend-compact-encoding in the userRoot configuration entry so that it's more obvious what the value is when looking at the configuration.

---
 opendj-sdk/opends/resource/config/config.ldif |   23 +++++++++++++++--------
 1 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/opendj-sdk/opends/resource/config/config.ldif b/opendj-sdk/opends/resource/config/config.ldif
index 978d667..da3ca7a 100644
--- a/opendj-sdk/opends/resource/config/config.ldif
+++ b/opendj-sdk/opends/resource/config/config.ldif
@@ -140,6 +140,7 @@
 ds-cfg-backend-import-thread-count: 8
 ds-cfg-backend-entries-compressed: false
 ds-cfg-backend-deadlock-retry-limit: 10
+ds-cfg-backend-compact-encoding: true
 ds-cfg-database-cache-percent: 10
 ds-cfg-database-cache-size: 0 megabytes
 ds-cfg-database-txn-no-sync: false
@@ -175,6 +176,18 @@
 ds-cfg-index-type: equality
 ds-cfg-index-type: substring
 
+dn: ds-cfg-index-attribute=ds-sync-hist,cn=Index,ds-cfg-backend-id=userRoot,cn=Backends,cn=config
+objectClass: top
+objectClass: ds-cfg-je-index
+ds-cfg-index-attribute: ds-sync-hist
+ds-cfg-index-type: ordering
+
+dn: ds-cfg-index-attribute=entryUUID,cn=Index,ds-cfg-backend-id=userRoot,cn=Backends,cn=config
+objectClass: top
+objectClass: ds-cfg-je-index
+ds-cfg-index-attribute: entryUUID
+ds-cfg-index-type: equality
+
 dn: ds-cfg-index-attribute=givenName,cn=Index,ds-cfg-backend-id=userRoot,cn=Backends,cn=config
 objectClass: top
 objectClass: ds-cfg-je-index
@@ -225,16 +238,10 @@
 ds-cfg-index-attribute: uid
 ds-cfg-index-type: equality
 
-dn: ds-cfg-index-attribute=ds-sync-hist,cn=Index,ds-cfg-backend-id=userRoot,cn=Backends,cn=config
+dn: ds-cfg-index-attribute=uniqueMember,cn=Index,ds-cfg-backend-id=userRoot,cn=Backends,cn=config
 objectClass: top
 objectClass: ds-cfg-je-index
-ds-cfg-index-attribute: ds-sync-hist
-ds-cfg-index-type: ordering
-
-dn: ds-cfg-index-attribute=entryuuid,cn=Index,ds-cfg-backend-id=userRoot,cn=Backends,cn=config
-objectClass: top
-objectClass: ds-cfg-je-index
-ds-cfg-index-attribute: entryuuid
+ds-cfg-index-attribute: uniqueMember
 ds-cfg-index-type: equality
 
 dn: cn=VLV Index,ds-cfg-backend-id=userRoot,cn=Backends,cn=config

--
Gitblit v1.10.0