[MDEV-13464] libmariadb3 - make_scrambled_password Created: 2017-08-07  Updated: 2017-09-11  Resolved: 2017-09-11

Status: Closed
Project: MariaDB Server
Component/s: Platform Debian, Server
Affects Version/s: 10.2.7
Fix Version/s: N/A

Type: Bug Priority: Critical
Reporter: Stephane Turrin Assignee: Sergei Golubchik
Resolution: Won't Fix Votes: 0
Labels: need_feedback
Environment:

Debian Wheezy


Attachments: PNG File Menubar_et_Mozilla_Firefox.png    

 Description   

Hi,
I just upgrade MariaDB and I get in trouble with apache2.

That's the error I get when I check the config :
apache2: Syntax error on line 244 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/auth_mysql.load: Cannot load /usr/lib/apache2/modules/mod_auth_mysql.so into server: /usr/lib/apache2/modules/mod_auth_mysql.so: symbol make_scrambled_password, version libmysqlclient_18 not defined in file libmysqlclient.so.18 with link time reference

The link seem correct :
libmysqlclient.so.18 -> libmariadb.so.3

Any idea how to solve this ?

Kind regard,
Stephane



 Comments   
Comment by Sergei Golubchik [ 2017-08-08 ]

This was also the issue with pureftpd. See MDEV-12889, and in particular the long explanation in this comment.

But in short, make_scrambled_password is internal function, it never was a part of the public API. Invoking it directly was a bug, and pureftpd have fixed it.

It seems that mod_auth_mysql also does that. Who maintains it nowadays? I was only able to find http://modauthmysql.sourceforge.net/ which looks seriously outdated.

Comment by Stephane Turrin [ 2017-08-09 ]

Hi,
I've disabled the mod in apache. But it's used when you'll need to link the database with the authentication and apache.
(You got a prompt element like the screenshot below).

The advantage of this solution is :

  • No need to develop an HTML / PHP page
  • Error are directly saved in the log (so fail2ban can ban some IP).

Comment by Sergei Golubchik [ 2017-08-10 ]

I agree that it's useful. It'd be better if they'd fixed this bug, like pureftpd did.

On the other hand, I might be wrong here, but it looks like it's old and unmaintained. And it no longer exists in Debian 9, so it seems.

Generated at Thu Feb 08 08:05:48 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.