Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for auth_gssapi_client MariaDB authentication plugin #2819

Open
Flofus opened this issue Jun 30, 2024 · 4 comments
Open

Add support for auth_gssapi_client MariaDB authentication plugin #2819

Flofus opened this issue Jun 30, 2024 · 4 comments

Comments

@Flofus
Copy link

Flofus commented Jun 30, 2024

i want to connect to my mariadb and i got

Error: Server requests authentication using unknown plugin auth_gssapi_client. See TODO: add plugins doco here on how to configure or author authentication plugins.

Do you need more information?

@sidorares
Copy link
Owner

your server requires clients to use this plugin, and we don't have that supported out of the box

There is a bit of documentation on how to write a plugin and use it in the client here: https://sidorares.github.io/node-mysql2/docs/documentation/authentication-switch

MariaDb page on auth_gssapi_client plugin:

https://mariadb.com/kb/en/authentication-plugin-gssapi/

So you have basically 2 options:

  • change server config and allow some "standard" mysql auth methods ( mysql_native_password , caching_sha2_password )
  • or write client side implementation of auth_gssapi_client plugin flow ( or wait until somebody makes it for you )

@sidorares
Copy link
Owner

MariaDB Connector/Node.js does not yet support gssapi authentication.

https://jira.mariadb.org/browse/CONJS-72

@sidorares
Copy link
Owner

go-sql-driver/mysql#1233

@sidorares sidorares changed the title MariaDB Connection Add support for auth_gssapi_client MariaDB authentication plugin Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants