Skip to content
New issue

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

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

Already on GitHub? # to your account

user and password are wrong after update #14

Closed
sebierd opened this issue Mar 4, 2021 · 12 comments
Closed

user and password are wrong after update #14

sebierd opened this issue Mar 4, 2021 · 12 comments

Comments

@sebierd
Copy link

sebierd commented Mar 4, 2021

I've updated the firebird-plugin to v. 1.3. After the update, I get the following error:

Your user name and password are not defined. Ask your database administrator to set up a Firebird login. [SQLState:28000, ISC error code:335544472]

I tried to setup a new connection, but the error message stays the same.

Metabase: 0.38.1
Plugin: 1.3
OS: Ubuntu 18.04.5

@Nikos410
Copy link
Member

Nikos410 commented Mar 4, 2021

Hm, I'm not sure I can help here. The firebird driver just takes whatever credentials you entered and passes it on to the database. Have you tried connecting to the DB with an SQL client like DBeaver with the same credentials?

@sebierd
Copy link
Author

sebierd commented Mar 5, 2021

Hm, I'm not sure I can help here. The firebird driver just takes whatever credentials you entered and passes it on to the database. Have you tried connecting to the DB with an SQL client like DBeaver with the same credentials?

I only updated the plugin and metabase. The metabase database (mysql) stays the same.

@FabriceWork
Copy link

After updating to the latest Firebird driver I am getting the same Error.
Nothing changed to the Firebird server and I can connect to it just fine with an SQL client using the same credentials used in Metabase.

@dodgex
Copy link
Member

dodgex commented Mar 20, 2021

Maybe it is related to the upgraded jaybird from 3.0.x to 4.0.x.

Maybe the legacy auth stuff mentioned here? https://www.firebirdsql.org/file/documentation/drivers_documentation/java/4.0.0/release_notes.html#removed-legacy_auth-from-default-authentication-plugins

@FabriceWork
Copy link

Maybe it is related to the upgraded jaybird from 3.0.x to 4.0.x.

Maybe the legacy auth stuff mentioned here? https://www.firebirdsql.org/file/documentation/drivers_documentation/java/4.0.0/release_notes.html#removed-legacy_auth-from-default-authentication-plugins

I figured the same so I rebuilt the firebird driver for Metabase 0.38.2 locally with the old jaybird version 3.0.8 and the driver is working again for me.

@bosborn52
Copy link

@FabriceWork Anyway you could share the rebuilt driver? I have only figured out how to start building the driver but it is erroring out...

@FabriceWork
Copy link

@FabriceWork Anyway you could share the rebuilt driver? I have only figured out how to start building the driver but it is erroring out...

Here is the rebuilt driver, if you still need it. I had to zip it because I can't upload .jar files.

firebird.metabase-driver.zip

@Nikos410
Copy link
Member

Hey @FabriceWork, thanks for your help :)

FYI: I've added an artifact built with Jaybird 3.x to the latest release and plan to do the same for future releases (If I forget, please remind me 😉). I've also added some information about this issue to the README.

@kumajaya
Copy link
Contributor

We can still enable Legacy_Auth support with authPlugin connection property, example database name in Metabse: "YOURFIREBIRD3DATABASE?encoding=UTF8&roleName=RDB$ADMIN&authPlugins=Legacy_Auth"

@Nikos410
Copy link
Member

Nikos410 commented Aug 3, 2022

Hey @kumajaya do you have some documentation on this?

@kumajaya
Copy link
Contributor

kumajaya commented Aug 3, 2022

@Nikos410
Copy link
Member

Nikos410 commented Aug 9, 2022

Thanks @kumajaya ! I've added that to the README section :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants