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

Can't use Firebird 3 fbclient to connect to Firebird 2.5 [CORE4649] #4963

Closed
firebird-automations opened this issue Dec 24, 2014 · 9 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Volker Rehn (vr2_s18)

Duplicates CORE4471

follow-up on CORE4648, where Alex said "using legacy applications you still can use new security model. They should work wih fresh fbclient. If not - it's a bug."

Applications do connect to a Firebird 3 server using its new fbclient, but some of us have to operate mixed environments (Firebird 2.5 and 3) for a while.
Firebird 25 fbclient can handle both servers, the new fbclient only Firebird 3. In a system like Apache, which only knows one fbclient, this leaves no choice but to use the old fbclient.

Legacy applications I tried to connect to a Firebird 2.5 server with the current (Firebird 3 beta 1) fbclient were apparently unable to find/access the security2.fdb: Error message Your user name and password are not defined ...
The other way works - Applications can connect to a Firebird 3 server (with legacy configuration) using a Firebird 2.5 fbclient. Tested with Flamerobin, Apache / php.

Looks like Firebird 3 fbclient is no drop-in replacement for older fbclient right now.

@firebird-automations
Copy link
Collaborator Author

Commented by: @sim1984

Check the current snapshot. I have everything working in the default configuration to version 3.0.0.31512. See CORE4471 was recently fixed.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

Link: This issue duplicates CORE4471 [ CORE4471 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @mrotteveel

Specifically to get it to work with Firebird 3 beta 1 you need to change the config **of fbclient.dll** to:

AuthClient = Srp, Legacy_Auth, Win_Sspi

See also:
CORE4471?focusedCommentId=28114&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#⁠action_28114

Note that this requires a firebird.conf in the same folder as the fbclient.dll that is used by the application!

@firebird-automations
Copy link
Collaborator Author

Commented by: Volker Rehn (vr2_s18)

Seems to be resolved, tested with build 31529.
Btw, it is noticably slower on connect than a 2.5-fbclient, but I can't say if that's because collecting database metadata takes more time now or because different managers for the connection are tried (I have only configured one - Legacy_Auth).

@mark: For this to work, it was not necessary to copy firebird.conf to another directory.

IMO this was no duplicate of CORE4471, since my configuration does not include Win_Sspi.

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Closed as resolved, accordingly to the Volker's comment.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 Beta 2 [ 10586 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Cannot be tested

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

1 participant