From 77ee765da575152ae0e8eff25d00c4e8cf2a7b11 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 04 Sep 2007 01:24:19 +0000
Subject: [PATCH] Add a 7-bit clean plugin, which can be used to ensure that values for a specified set of attributes (optionally only for entries below a specified set of base DNs) are 7-bit clean.

---
 opends/resource/config/config.ldif |   39 +++++++++++++++++++++++++++------------
 1 files changed, 27 insertions(+), 12 deletions(-)

diff --git a/opends/resource/config/config.ldif b/opends/resource/config/config.ldif
index 0f64d33..36bf959 100644
--- a/opends/resource/config/config.ldif
+++ b/opends/resource/config/config.ldif
@@ -1419,6 +1419,21 @@
 objectClass: ds-cfg-plugin-root
 cn: Plugins
 
+dn: cn=7-Bit Clean,cn=Plugins,cn=config
+objectClass: top
+objectClass: ds-cfg-plugin
+objectClass: ds-cfg-7-bit-clean-plugin
+cn: 7-Bit Clean
+ds-cfg-plugin-class: org.opends.server.plugins.SevenBitCleanPlugin
+ds-cfg-plugin-enabled: false
+ds-cfg-plugin-type: ldifImport
+ds-cfg-plugin-type: preParseAdd
+ds-cfg-plugin-type: preParseModify
+ds-cfg-plugin-type: preParseModifyDN
+ds-cfg-7-bit-clean-attribute-type: uid
+ds-cfg-7-bit-clean-attribute-type: mail
+ds-cfg-7-bit-clean-attribute-type: userPassword
+
 dn: cn=Entry UUID,cn=Plugins,cn=config
 objectClass: top
 objectClass: ds-cfg-plugin
@@ -1470,18 +1485,6 @@
 ds-cfg-profile-directory: logs
 ds-cfg-profile-sample-interval: 10 milliseconds
 
-dn: cn=UID Unique Attribute,cn=Plugins,cn=config
-objectClass: top
-objectClass: ds-cfg-plugin
-objectClass: ds-cfg-unique-attribute-plugin
-cn: UID Unique Attribute
-ds-cfg-plugin-class: org.opends.server.plugins.UniqueAttributePlugin
-ds-cfg-plugin-enabled: false
-ds-cfg-plugin-type: preOperationAdd
-ds-cfg-plugin-type: preOperationModify
-ds-cfg-plugin-type: preOperationModifyDN
-ds-cfg-unique-attribute-type: uid
-
 dn: cn=Referential Integrity,cn=Plugins,cn=config
 objectClass: top
 objectClass: ds-cfg-plugin
@@ -1495,6 +1498,18 @@
 ds-cfg-referential-integrity-attribute-type: member
 ds-cfg-referential-integrity-attribute-type: uniqueMember
 
+dn: cn=UID Unique Attribute,cn=Plugins,cn=config
+objectClass: top
+objectClass: ds-cfg-plugin
+objectClass: ds-cfg-unique-attribute-plugin
+cn: UID Unique Attribute
+ds-cfg-plugin-class: org.opends.server.plugins.UniqueAttributePlugin
+ds-cfg-plugin-enabled: false
+ds-cfg-plugin-type: preOperationAdd
+ds-cfg-plugin-type: preOperationModify
+ds-cfg-plugin-type: preOperationModifyDN
+ds-cfg-unique-attribute-type: uid
+
 dn: cn=Root DNs,cn=config
 objectClass: top
 objectClass: ds-cfg-root-dn-base

--
Gitblit v1.10.0