Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
3.0.6, 3.0.7, 3.0.8
-
None
-
None
-
Fedora - all
Description
https://bugzilla.redhat.com/show_bug.cgi?id=1624533
After upgrading mariadb-connector-c to 3.0.6-1.fc28, the auth_gssapi_plugin for the client doesn't work properly:
|
|
org.kde.pim.akonadiserver: Database error: "Plugin auth_gssapi_client could not be loaded: lib64/mariadb/plugin/auth_gssapi_client.so: cannot open shared object file: No such file or directory QMYSQL: Unable to connect"
|
|
Downgrading to 3.0.3-3.fc28, things begin to work immediately.
|
Attachments
Issue Links
- blocks
-
MDEV-19565 10.4.7 merge
-
- Closed
-
- causes
-
MDEV-19807 MariaDB client plugin path is wrong
-
- Closed
-
- relates to
-
CONC-376 missing prefix for searching mysql_clear_password.so
-
- Open
-
-
MDEV-20569 Plugin dialog could not be loaded (wrong path)
-
- Closed
-
- links to
I was able to reproduce the issue without touching aconadi.
1) Set up valid /etc/krb5.keytab
2) enable the gssapi plugin in the configuration file
3) start server
4)
5) Write a simple code and try to connect as that user:
#include <stdio.h>
#include <mysql.h>
{
MYSQL *con = mysql_init(NULL);
{
}
NULL, 0, NULL, 0) == NULL)
{
mysql_close(con);
}
{
mysql_close(con);
}
mysql_close(con);
}
You will get an error:
# ./mariadb_program
This makes the plugin completely unusable.
Since gssapi is quite commonly used, I find it as a quite severe bug!
IMHO same kind of issue as CONC-376