You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed Firebird 3.0 alpha 1 with the legacy authentication enabled in the installer. Connecting directly after installation with for example Flamerobin (which uses fbclient) works. But connecting using Jaybird 2.2.3 (with sysdba/masterkey as I configured in the installer) yields an exception:
Exception in thread "main" org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544472. Your user name and password are not defined. Ask your database administrator to set up a Firebird login.
at org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:123)
After restarting the Firebird service everything works as expected. It looks like the modifications to the firebird.conf are only written to disk after the service has been started and the installer has exited (file is not properly closed?). If I look in the firebird.conf just before clicking 'Finish' on the 'Completing the Firebird Setup Wizard' page with 'Start firebird now?' enabled, the authentication section contains:
Authentication is performed by the network listener, this means that the appropriate settings from firebird.conf are read once at the server startup. So it appears that the installer starts the server first and only then modifies the configuration. I hope Paul will elaborate.
Submitted by: @mrotteveel
I installed Firebird 3.0 alpha 1 with the legacy authentication enabled in the installer. Connecting directly after installation with for example Flamerobin (which uses fbclient) works. But connecting using Jaybird 2.2.3 (with sysdba/masterkey as I configured in the installer) yields an exception:
Exception in thread "main" org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544472. Your user name and password are not defined. Ask your database administrator to set up a Firebird login.
at org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:123)
After restarting the Firebird service everything works as expected. It looks like the modifications to the firebird.conf are only written to disk after the service has been started and the installer has exited (file is not properly closed?). If I look in the firebird.conf just before clicking 'Finish' on the 'Completing the Firebird Setup Wizard' page with 'Start firebird now?' enabled, the authentication section contains:
# Per-database configurable.
#
#AuthServer = Srp, Win_Sspi
#
# Per-connection and per-database configurable.
#
#AuthClient = Srp, Win_Sspi, Legacy_Auth
After I click finish it is changed to:
# Per-database configurable.
#
#AuthServer = Srp, Win_Sspi
AuthServer = Srp, Win_Sspi, Legacy_Auth
#
# Per-connection and per-database configurable.
#
#AuthClient = Srp, Win_Sspi, Legacy_Auth
Commits: 92587f6 FirebirdSQL/fbt-repository@5e21826 FirebirdSQL/fbt-repository@180a4ae
The text was updated successfully, but these errors were encountered: