[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:
Duplicate
is duplicated by MXS-3094 unsupported authenticator plugin Closed

 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:

Client '...'@[...] is using an unsupported authenticator plugin ''. Trying to switch to 'mysql_native_password'. 

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.

Generated at Thu Feb 08 04:18:44 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.