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

Authentication for gbak broken in v.2.5.6 [CORE5365] #5638

Open
firebird-automations opened this issue Oct 2, 2016 · 4 comments
Open

Authentication for gbak broken in v.2.5.6 [CORE5365] #5638

firebird-automations opened this issue Oct 2, 2016 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @helebor

Gbak returning "user name and password not defined" for SYSDBA login. Logins from other apps are OK. Problem "solved" by replacing gbak with a copy from v.2.5.5.
Added: Authentication works OK if -b[ackup] switch is included so this may be an unannounced attempt at improvement that I haven't noticed before. In the past, -b was the default switch (or behaved as if it was.) If gbak no longer has a default switch, perhaps change the message to something along the lines of "No switch detected for this request" and update the release notes?

@firebird-automations
Copy link
Collaborator Author

Modified by: @helebor

priority: Major [ 3 ] => Minor [ 4 ]

description: Gbak returning "user name and password not defined" for SYSDBA login. Logins from other apps are OK. Problem "solved" by replacing gbak with a copy from v.2.5.5. => Gbak returning "user name and password not defined" for SYSDBA login. Logins from other apps are OK. Problem "solved" by replacing gbak with a copy from v.2.5.5.
Added: Authentication works OK if -b[ackup] switch is included so this may be an unannounced attempt at improvement that I haven't noticed before. In the past, -b was the default switch (or behaved as if it was.) If gbak no longer has a default switch, perhaps change the message to something along the lines of "No switch detected for this request" and update the release notes?

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

On linux with B2_5_release I do not see this problem with gbak:

localhost bin #⁠ ./gbak -user sysdba -pas masterkey localhost:employee e.gbak -z
gbak:gbak version LI-V2.5.7.27026 Firebird 2.5
gbak: Version(s) for database "localhost:employee"
Firebird/linux AMD64 (access method), version "LI-V2.5.7.27026 Firebird 2.5"
Firebird/linux AMD64 (remote server), version "LI-V2.5.6.26980 Firebird 2.5/tcp (localhost)/P12"
Firebird/linux AMD64 (remote interface), version "LI-V2.5.7.27026 Firebird 2.5/tcp (localhost)/P12"
on disk structure version 11.2
localhost bin #⁠

i.e. that's hardly intended change, looks like windows-specific bug.

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

I can't reproduce it on Windows:

\Firebird-2.5.6.27020-0_Win32_pdb\bin>isql -user SYSDBA -pass masterkey
Use CONNECT or CREATE DATABASE to specify a database
SQL> create database 's:\core-5365.fdb';
SQL> show version;
ISQL Version: WI-V2.5.6.27020 Firebird 2.5
Server version:
Firebird/x86/Windows NT (access method), version "WI-V2.5.6.27020 Firebird 2.5"
Firebird/x86/Windows NT (remote server), version "WI-V2.5.6.27020 Firebird 2.5/XNet (WIN7X64)/P12"
Firebird/x86/Windows NT (remote interface), version "WI-V2.5.6.27020 Firebird 2.5/XNet (WIN7X64)/P12"
on disk structure version 11.2
SQL> exit;

\Firebird-2.5.6.27020-0_Win32_pdb\bin>gbak -user SYSDBA -pass masterkey s:\core-5365.fdb s:\core-5365.fbk

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

Now 64-bit version

XNET:

Firebird-2.5.6.27020-0_x64_pdb\bin>gbak -user sysdba -pass masterkey -z S:\CORE5365.FDB S:\core-5365.fbk
gbak:gbak version WI-V2.5.6.27020 Firebird 2.5
gbak: Version(s) for database "S:\CORE5365.FDB"
Firebird/x86-64/Windows NT (access method), version "WI-V2.5.6.27020 Firebird 2.5"
Firebird/x86-64/Windows NT (remote server), version "WI-V2.5.6.27020 Firebird 2.5/XNet (WIN7X64)/P12"
Firebird/x86-64/Windows NT (remote interface), version "WI-V2.5.6.27020 Firebird 2.5/XNet (WIN7X64)/P12"
on disk structure version 11.2

INET:

Firebird-2.5.6.27020-0_x64_pdb\bin>gbak -user sysdba -pass masterkey -z localhost:S:\CORE5365.FDB S:\core-5365.fbk
gbak:gbak version WI-V2.5.6.27020 Firebird 2.5
gbak: Version(s) for database "localhost:S:\CORE5365.FDB"
Firebird/x86-64/Windows NT (access method), version "WI-V2.5.6.27020 Firebird 2.5"
Firebird/x86-64/Windows NT (remote server), version "WI-V2.5.6.27020 Firebird 2.5/tcp (Win7x64)/P12"
Firebird/x86-64/Windows NT (remote interface), version "WI-V2.5.6.27020 Firebird 2.5/tcp (Win7x64)/P12"
on disk structure version 11.2

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