mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-26647 (plugin name) Include password validation plugin information in the error message if the SQL statement is not satisfied password policy
Add plugin name to the error message.
This commit is contained in:
@ -5,16 +5,16 @@ install soname "cracklib_password_check";
|
||||
grant select on *.* to foobar identified by 'q$%^&*R1234ty';
|
||||
drop user foobar;
|
||||
grant select on *.* to Fff_fff1 identified by '1fff_ffF';
|
||||
ERROR HY000: Your password does not satisfy the current policy requirements
|
||||
ERROR HY000: Your password does not satisfy the current policy requirements (cracklib_password_check)
|
||||
show warnings;
|
||||
Level Code Message
|
||||
Warning 1819 cracklib: it does not contain enough DIFFERENT characters
|
||||
Error 1819 Your password does not satisfy the current policy requirements
|
||||
Error 1819 Your password does not satisfy the current policy requirements (cracklib_password_check)
|
||||
grant select on *.* to foobar identified by 'q-%^&*rty';
|
||||
ERROR HY000: Your password does not satisfy the current policy requirements
|
||||
ERROR HY000: Your password does not satisfy the current policy requirements (simple_password_check)
|
||||
show warnings;
|
||||
Level Code Message
|
||||
Error 1819 Your password does not satisfy the current policy requirements
|
||||
Error 1819 Your password does not satisfy the current policy requirements (simple_password_check)
|
||||
uninstall plugin simple_password_check;
|
||||
grant select on *.* to foobar identified by 'q-%^&*rty';
|
||||
drop user foobar;
|
||||
|
Reference in New Issue
Block a user