From 4c3c02f4a1c985cf51251e00fc4165e95cb38229 Mon Sep 17 00:00:00 2001 From: neil_a_wilson <neil_a_wilson@localhost> Date: Thu, 07 Jun 2007 21:48:09 +0000 Subject: [PATCH] Add a virtual attribute provider that can be used to assign entryUUID values for entries in private backends (e.g., the root DSE, schema, monitor entries, config entries, etc.). The entryUUID value that will be generated is based on an MD5 hash of the entry DN, but this shouldn't be a problem for entries in private backends because none of them allow modify DN operations. User entries should have a real entryUUID value generated when the entry is created (either via an LDAP add or an LDIF import). --- opendj-sdk/opends/resource/config/config.ldif | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/opendj-sdk/opends/resource/config/config.ldif b/opendj-sdk/opends/resource/config/config.ldif index fbf92f8..fd90449 100644 --- a/opendj-sdk/opends/resource/config/config.ldif +++ b/opendj-sdk/opends/resource/config/config.ldif @@ -1795,6 +1795,15 @@ ds-cfg-virtual-attribute-type: entryDN ds-cfg-virtual-attribute-conflict-behavior: virtual-overrides-real +dn: cn=entryUUID,cn=Virtual Attributes,cn=config +objectClass: top +objectClass: ds-cfg-virtual-attribute +cn: entryUUIUD +ds-cfg-virtual-attribute-class: org.opends.server.extensions.EntryUUIDVirtualAttributeProvider +ds-cfg-virtual-attribute-enabled: true +ds-cfg-virtual-attribute-type: entryUUID +ds-cfg-virtual-attribute-conflict-behavior: real-overrides-virtual + dn: cn=isMemberOf,cn=Virtual Attributes,cn=config objectClass: top objectClass: ds-cfg-virtual-attribute -- Gitblit v1.10.0