[MDEV-8226] Simple password check does not allow empty passwords even when all options are set to 0 Created: 2015-05-26  Updated: 2015-05-26

Status: Open
Project: MariaDB Server
Component/s: Plugins
Affects Version/s: 10.1
Fix Version/s: 10.1

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Unresolved Votes: 0
Labels: None


 Description   

install soname 'simple_password_check';
 
set global
  simple_password_check_digits = 0,
  simple_password_check_letters_same_case = 0,
  simple_password_check_other_characters = 0;
 
set global
  simple_password_check_minimal_length = 0;
 
show variables like 'simple_password%';
 
set password = password('');

Variable_name	Value
simple_password_check_digits	0
simple_password_check_letters_same_case	0
simple_password_check_minimal_length	0
simple_password_check_other_characters	0
set password = password('');
...
mysqltest: At line 13: query 'set password = password('')' failed: 1819: Your password does not satisfy the current policy requirements

It might make sense, but then it should not be allowed to set simple_password_check_minimal_length to 0, it should be adjusted to 1 with a warning.


Generated at Thu Feb 08 07:25:34 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.