[MDEV-15652] connecting from MySQL workbench gives error "Unable to load authentication plugin auth_gssapi_client Created: 2018-03-23  Updated: 2018-03-26  Resolved: 2018-03-24

Status: Closed
Project: MariaDB Server
Component/s: Authentication and Privilege System
Affects Version/s: None
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Kishor Bhagat Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: None


 Description   

we have installed MariaDB database on CentOS 7.x. 3 node Galera cluster. At present node 1 is setup for Kerberos with gssai_auth plugin. when I connect on CentOS server with my AD account, I can connect to database without need for entering user/password. But, when connecting from MySQL workbench or DBArtisan, using AD Authentication, I get error: "Unable to load authentication plugin auth_gssapi_client". I see that my.cnf file has plugin directory setup and also has plugin auth_gssapi_client.so in plugin directory. Besides, when I try to install this plugin in MariaDB (not sure if this is a correct step), I get below error:
install soname 'auth_gssapi_client';
ERROR 1127 (HY000): Can't find symbol 'mysql_plugin_interface_version' in library

I am able to connect to database from DBArtisan without AD Authtication. But, with AD Authetication, I get above 'Unable to load...' error. MySQL workbench gives this error with or without AD Authentication. if anyone had this issue, please help.



 Comments   
Comment by Vladislav Vaintroub [ 2018-03-24 ]
  • Do not try to install client plugin into server. Client plugins are for use the with client library
  • Yes, people had similar issues (with dialog plugin) and documented workaround on stackoverflow https://stackoverflow.com/questions/44624357/mysql-workbench-dialog-dll-for-pam-connection/44720069#44720069 . In your case you should follow the steps in the answer, and copy auth_gssapi_client.dll from server distribution, of the correct architecture (32bit on 32bit machine, 64bit for 64bit machine). Then create a directory C:\Program Files\MySQL\MySQL Server 5.7\lib\plugin\ , and copy the plugin here.
Comment by Kishor Bhagat [ 2018-03-26 ]

This did work. Thanks Vladislav.

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