Password hash should be a 41-digit hexadecimal number

With MariaDB 10.3 (What should be supported, because its part of Debian 10) i am getting this error when trying to create/update user:

Password hash should be a 41-digit hexadecimal number.

Status: 
Needs review

Comments

Hi, thanks for fixing of the error of issue 66896 https://www.virtualmin.com/node/66896 I think the error of issue 66896 is a different error than this issue 66926. My solution to the error of issue 66896 was: mysql -h localhost -u root -p mysql ALTER TABLE mysql.user ALTER authentication_string SET DEFAULT ''; The error of the issue 66926 still exists. This error "Password hash should be a 41-digit hexadecimal number" occurs when I want to change the MySQL password on page "virtual-server/list_databases.cgi" or on "mysql/edit_user.cgi".

Still happening for me on Ubuntu 20.04 with MariaDB version 10.3.22-MariaDB-1ubuntu1 and Webmin 1.941.

Fortunately, when it came to setting the password for the user in question, I had the "0123456789ABCDEF012345678901234567890123 - style password from another machine.

Happens on creation of the user in System module and when editing the user in MySQL module.