[MDEV-32649] Enhancement to INFORMATION_SCHEMA Table info. about user locked due to max_password_errors Created: 2023-11-01  Updated: 2023-11-30

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Ralf Gebhardt Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-23729 INFORMATION_SCHEMA Table info. abou... Stalled

 Description   

With MDEV-23729 users should be able to query which users a blocked due to max_password_errors. This feature request is to enhance this feature having a table like "blocked_accounts" in the information schema which stores all currently blocked (and maybe also locked) accounts and an information why they are blocked. Possible reasons are:

max-password-errors reached
max_connect_errors reached
MAX_CONNECTIONS_PER_HOUR reached (ER_USER_LIMIT_REACHED)
MAX_USER_CONNECTIONS (ER_TOO_MANY_USER_CONNECTIONS)
password expired
account locked
secure_auth set => mysql_old_password is used
The table content should only be accessible for a user with privilege CONNECTION ADMIN


Generated at Thu Feb 08 10:32:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.