From 522504be45b36d6268a9798fbf7616b439f53ec7 Mon Sep 17 00:00:00 2001
From: Chris Ridd <chris.ridd@forgerock.com>
Date: Tue, 18 Dec 2012 15:02:59 +0000
Subject: [PATCH] Fix OPENDJ-664 Password validator: default of check-substrings = false breaks rule of least surprise

---
 opends/src/admin/defn/org/opends/server/admin/std/DictionaryPasswordValidatorConfiguration.xml |    2 +-
 opends/resource/config/config.ldif                                                             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/resource/config/config.ldif b/opends/resource/config/config.ldif
index 2df1612..a12e514 100644
--- a/opends/resource/config/config.ldif
+++ b/opends/resource/config/config.ldif
@@ -1668,7 +1668,7 @@
 ds-cfg-dictionary-file: config/wordlist.txt
 ds-cfg-case-sensitive-validation: false
 ds-cfg-test-reversed-password: true
-ds-cfg-check-substrings: false
+ds-cfg-check-substrings: true
 
 dn: cn=Length-Based Password Validator,cn=Password Validators,cn=config
 objectClass: top
diff --git a/opends/src/admin/defn/org/opends/server/admin/std/DictionaryPasswordValidatorConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/DictionaryPasswordValidatorConfiguration.xml
index 834982b..f51ade6 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/DictionaryPasswordValidatorConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/DictionaryPasswordValidatorConfiguration.xml
@@ -158,7 +158,7 @@
     </adm:description>
     <adm:default-behavior>
       <adm:defined>
-        <adm:value>false</adm:value>
+        <adm:value>true</adm:value>
       </adm:defined>
     </adm:default-behavior>
     <adm:syntax>

--
Gitblit v1.10.0