[CONC-33] The old_password_client_plugin isn't listed in mysql_client_builtins. Created: 2013-06-18  Updated: 2013-06-18  Resolved: 2013-06-18

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Henrik Grubbström Assignee: Georg Richter
Resolution: Cannot Reproduce Votes: 0
Labels: None
Environment:

mysql-nativa-client 1.0.0



 Description   

Connection to servers using the old password scheme fails with " Plugin mysql_old_password could not be loaded:" (provided that CONC-32 has been fixed). This seems to be due to libmysql/my_auth.c not listing old_password_client_plugin in the mysql_client_builtins array:

$ sed -n -e '46,56p' libmysql/my_auth.c
old_password_auth_client
};

struct st_mysql_client_plugin *mysql_client_builtins[]=
{
(struct st_mysql_client_plugin *)&native_password_client_plugin,
0
};

/* this is a "superset" of MYSQL_PLUGIN_VIO, in C++ I use inheritance */
typedef struct {



 Comments   
Comment by Georg Richter [ 2013-06-18 ]

Can't reproduce, this was also fixed in rev. 21:

revno: 21
committer: Georg Richter <holzboote@googlemail.com>
branch nick: mariadb-native-client
timestamp: Sat 2012-12-15 08:23:43 +0100
message:
Fix for CONC-1 (Inverted error messages no 2058,2059)
Added support for old password authentication:

  • Fixed scramble_323:
    use exact length of message (SCRAMBLE_LENGTH_323 instead
    of strlen(message))
  • Added old_password_authentication plugin into list of builtin plugins
Generated at Thu Feb 08 03:02:24 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.