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

Password length sent by module is never longer than 8 characters. #79

Closed
asgeira13 opened this issue Sep 5, 2017 · 2 comments
Closed

Password length sent by module is never longer than 8 characters. #79

asgeira13 opened this issue Sep 5, 2017 · 2 comments

Comments

@asgeira13
Copy link

@asgeira13 asgeira13 commented Sep 5, 2017

Recently started using this module for my node project to connect to my firebird 3.0.2 database.
After integrating it into my project i started having problems connecting with my firebase users. Only one of my users could connect. Everyone else would get this error:

"While connecting - Your user name and password are not defined. Ask your database administrator to set up a Firebird login."

I had tried logging in with my firebird client with no problem so the passwords were correct.

I started debugging with the sample project (which btw was extremely helpful) and eventually with the help of the online firebird manuals figured out that before version 3 the passwords could only be of length 8. Using the sample project I confirmed this and have now only created users with password length maximum 8.

So the issue is that the module only stores the first 8 characters of the password to send to the server but firebird servers of version 3 expect the whole password.

Hopefully this can help others who encounter the same issue and maybe a solution can be found.

@mariuz

This comment has been minimized.

Copy link
Contributor

@mariuz mariuz commented Oct 25, 2017

fixed by this pull request

#81

@mariuz

This comment has been minimized.

Copy link
Contributor

@mariuz mariuz commented Oct 25, 2017

This can be closed now :)

@xdenser xdenser closed this Oct 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.