Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

No permission for remote acess when connecting to a local database via inet (isql) #8312

Unanswered
Prochy asked this question in Q&A
Discussion options

I want to migrate from gsec to isql but I'm facing issue I cannot connect to the local fb when using following command:
isql -x "127.0.0.1/3050:C:\Program Files\Firebird\security4.fdb" -u SYSDBA -p masterkey

With gsec this works fine even with RemoteAccess = false.

Is this desired behavior? I understand the gsec uses different approach but I would suppose it should be possible to connect to the database from the loopbacks addresses even with isql.

Note: I cannot use xnet uri.

You must be logged in to vote

Replies: 2 comments 1 reply

Comment options

Yes, this is the desired behaviour. Any connection over TCP/IP is considered remote access, even if it is to localhost. You need to use embedded or XNET.

However, if you want to manage users, you can connect to any database to manage users in the security database, as long as it doesn't use a custom security database. There is hardly ever a reason to connect to the security database itself.

As an aside, for future reference, please ask question on firebird-support or on GitHub discussions. The issues are intended for reporting bugs or requesting new features/improvements.

You must be logged in to vote
1 reply
Comment options

Minor qualification: you can only manage users in a database if it uses that security database and has the appropriate UserManager configured (either globally in firebird.conf, or specifically in databases.conf). A non-SYSDBA user must have the RDB$ADMIN role in the security database.

Comment options

NOTE: I have migrated this from Issues to Discussions

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #8311 on November 07, 2024 11:42.

AltStyle によって変換されたページ (->オリジナル) /