[MXS-3069] Unnecessary AuthSwitchRequest with old clients Created: 2020-07-06 Updated: 2020-08-25 Resolved: 2020-08-03 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Authenticator |
| Affects Version/s: | 2.5.1 |
| Fix Version/s: | 2.4.11, 2.5.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | markus makela | Assignee: | Esa Korhonen |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
When an old client connects with the PLUGIN_AUTH capability but it doesn't set the plugin name, MaxScale will send an AuthSwitchRequest packet which will cause an extra step to be taken in the authentication process. This can be observed in the following log message:
The correct thing to do would be to assume that an empty plugin is the same as mysql_native_password. |
| Comments |
| Comment by Esa Korhonen [ 2020-07-30 ] |
|
May be an issue again in 2.5 due to rewrite. |