Commit e9f6c816 authored by Sergey Vojtovich's avatar Sergey Vojtovich

Fixed plugins.cracklib_password_check failure

In RHEL7/RHEL7.1 libcrack behavior seem to have been modified so that
"foobar" password is considered bad (due to descending "ba") earlier than
expected. For details google for cracklib-2.9.0-simplistic.patch.

Adjusted affected passwords not to have descending and ascending sequences.
parent ab44e892
...@@ -13,13 +13,13 @@ PLUGIN_LICENSE GPL ...@@ -13,13 +13,13 @@ PLUGIN_LICENSE GPL
LOAD_OPTION ON LOAD_OPTION ON
PLUGIN_MATURITY Alpha PLUGIN_MATURITY Alpha
PLUGIN_AUTH_VERSION 1.0 PLUGIN_AUTH_VERSION 1.0
grant select on *.* to foobar identified by 'foobar'; grant select on *.* to foocar identified by 'foocar';
ERROR HY000: Your password does not satisfy the current policy requirements ERROR HY000: Your password does not satisfy the current policy requirements
show warnings; show warnings;
Level Code Message Level Code Message
Warning 1819 cracklib: it is based on your username Warning 1819 cracklib: it is based on your username
Error 1819 Your password does not satisfy the current policy requirements Error 1819 Your password does not satisfy the current policy requirements
grant select on *.* to foobar identified by 'raboof'; grant select on *.* to foocar identified by 'racoof';
ERROR HY000: Your password does not satisfy the current policy requirements ERROR HY000: Your password does not satisfy the current policy requirements
show warnings; show warnings;
Level Code Message Level Code Message
......
...@@ -12,11 +12,11 @@ select * from information_schema.plugins where plugin_name='cracklib_password_ch ...@@ -12,11 +12,11 @@ select * from information_schema.plugins where plugin_name='cracklib_password_ch
--horizontal_results --horizontal_results
--error ER_NOT_VALID_PASSWORD --error ER_NOT_VALID_PASSWORD
grant select on *.* to foobar identified by 'foobar'; grant select on *.* to foocar identified by 'foocar';
show warnings; show warnings;
--error ER_NOT_VALID_PASSWORD --error ER_NOT_VALID_PASSWORD
grant select on *.* to foobar identified by 'raboof'; grant select on *.* to foocar identified by 'racoof';
show warnings; show warnings;
--error ER_NOT_VALID_PASSWORD --error ER_NOT_VALID_PASSWORD
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment