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

GSEC used remotely [CORE1806] #2234

Open
firebird-automations opened this issue Mar 27, 2008 · 0 comments
Open

GSEC used remotely [CORE1806] #2234

firebird-automations opened this issue Mar 27, 2008 · 0 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Vitezslav Svejdar (viteksv)

Dear developers.

It seems that what is written in http://www.firebirdsql.org/pdfmanual/Firebird-Utils-WIP.pdf in the second par of p. 12, viz:

"The version of gsec provided in Firebird 2.0 can be used to maintain the security database on previous versions
of Firebird and it is hoped, Interbase from version 6.0 upwards"

does not work for me.

My testing FB 2.1 RC2 installation is installed manually from zip, the service was activated using instsvc with
parameter -n "FB 2.1" and it is listening on port fb21 (which translates to 3052 in the services file).
Its home directory is c:\Program Files\Firebird\Firebird_2_1.
There are two other paralel instances of Firebird, FB 2.0 listening on port fb20 and FB1.5 having no special information
about port in firebird.conf, and thus listening on 3050.

After cd "c:\Program Files\Firebird\Firebird_2_1\bin", the commands
gsec -da "localhost/fb21:c:\Program Files\Firebird\Firebird_2_1\security2.fdb" -user sysdba -pa masterke
gsec -da "localhost/fb20:c:\Program Files\Firebird\Firebird_2_0\security2.fdb" -user sysdba -pa masterke
work normally for me, i.e. allow me to modify users in one or the other security database.

However, after the command
gsec -da "localhost/3050:c:\Program Files\Firebird\Firebird_1_5\security.fdb" -user sysdba -pa confidential
gsec does show its prompt (so it has verified the different password), but then hangs if I say "di"
or "add fb15 -pw fb15".

Similar (i.e. wrong) behavior is experienced if I try to modify users in some other FB 1.5 Windows installation,
which is "really remote", outside the local network.

Thank you for the work on Firebird project. All the best, Vitek

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