MXS-2891: Log password hash on mismatch
By logging the password hash when user authentication fails due to a password mismatch, we can be certain what the client sent and what is the currently stored value in MaxScale. This should not be on by default which is why a new parameter is required.
This commit is contained in:
@ -84,3 +84,12 @@ case-insensitive by converting all names into their lowercase form.
|
||||
```
|
||||
authenticator_options=lower_case_table_names=false
|
||||
```
|
||||
|
||||
### `log_password_mismatch`
|
||||
|
||||
This parameter takes a boolean value and is disabled by default. When enabled,
|
||||
password hashes are logged in the error messages when authentication fails due
|
||||
to a password mismatch between the one stored in MaxScale and the one given by
|
||||
the user. This feature should only be used to diagnose authentication issues in
|
||||
MaxScale and should be done on a secure system as the logging of the password
|
||||
hashes can be considered a security risk.
|
||||
|
Reference in New Issue
Block a user