summaryrefslogtreecommitdiffstats
path: root/install/updates/50-7_bit_check.update
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2013-06-03 09:56:08 +0200
committerMartin Kosek <mkosek@redhat.com>2013-06-06 18:12:50 +0200
commitbcf8ab24d5c8fefdaaf49a50ddce6f8fc8702be1 (patch)
tree45267263040ddd117dac760adbbf1f6f4d20d045 /install/updates/50-7_bit_check.update
parentadc57707c0ec60141062a6eb9f9d8a3ab5128f7a (diff)
downloadfreeipa-bcf8ab24d5c8fefdaaf49a50ddce6f8fc8702be1.tar.gz
freeipa-bcf8ab24d5c8fefdaaf49a50ddce6f8fc8702be1.tar.xz
freeipa-bcf8ab24d5c8fefdaaf49a50ddce6f8fc8702be1.zip
Do not check userPassword with 7-bit plugin
Default list of attributes that are checked with 7-bit plugin for being 7-bit clean includes userPassword. Consecutively, one is unable to set passwords that contain non-ascii characters. https://fedorahosted.org/freeipa/ticket/3640
Diffstat (limited to 'install/updates/50-7_bit_check.update')
-rw-r--r--install/updates/50-7_bit_check.update6
1 files changed, 6 insertions, 0 deletions
diff --git a/install/updates/50-7_bit_check.update b/install/updates/50-7_bit_check.update
new file mode 100644
index 000000000..b9ea8a97d
--- /dev/null
+++ b/install/updates/50-7_bit_check.update
@@ -0,0 +1,6 @@
+# Remove userPassword from the list of attributes checked by 7-bit plugin
+# Replace argument value 'userPassword' with 'mail' to avoid the need to
+# shift the whole argument array. Attribute 'mail' is already listed
+# in pluginarg1, so it is conveniently used as valid value placeholder.
+dn: cn=7-bit check,cn=plugins,cn=config
+replace:nsslapd-pluginarg2:userpassword::mail