[MXS-3160] PLUGIN_AUTH_LENENC_CLIENT_DATA capability not set Created: 2020-09-07 Updated: 2020-09-08 Resolved: 2020-09-08 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Authenticator |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
hanshake response has different way to send password depending on capability
Maxscale doesn't seem to set PLUGIN_AUTH_LENENC_CLIENT_DATA capability. this might prevent using password with size > 256 if SSL is set. In addition, this can permit using MySQL java connector, because it doesn't even follow it own protocol, but using :
so not setting PLUGIN_AUTH_LENENC_CLIENT_DATA results in sending length + password when maxscale expect password null ended. |
| Comments |
| Comment by markus makela [ 2020-09-08 ] |
|
This should be fixed in 2.5.0. |
| Comment by Diego Dupin [ 2020-09-08 ] |
| Comment by markus makela [ 2020-09-08 ] |
|
My apologies, I didn't think to check what the capabilities that MaxScale sends were. I assumed the problem was in the code that processed the client capabilities. |