node-firebird icon indicating copy to clipboard operation
node-firebird copied to clipboard

Unable to connect database with a user length 1 character

Open ARDInformatique opened this issue 4 years ago • 2 comments

Hello, we work currently with the version 0.8.7 on node.js 12.14.1 on Firebird 3.0.3, i check for upgrade to 0.9.9.

We work with 21 firebird users named 0 to 20.

After upgrade to 0.9.9 :

  • SYSDBA work fine.
  • Users named 10 to 20 work fine.
  • All users with 1 character long will not work (0 to 9) : ERROR : Your user name and password are not defined. Ask your database administrator to set up a Firebird login

A bug on authentication when the user has a size of 1 ? Very strange.

Thank you for your work and your help

ARDInformatique avatar Jun 23 '21 06:06 ARDInformatique

Are you able to contribute by opening a pull request? :-)

Tomas2D avatar Aug 04 '21 14:08 Tomas2D

I would like to, I debug until the encoding in buffer where the user is indeed a string of size 1 ... Then it exceeds my skills.

ARDInformatique avatar Aug 24 '21 06:08 ARDInformatique