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
RDB$ADMIN can't restore a database, which worked in Firebird 3 from applicantions: IBExpert, Flamerobin
I add new user with ADMIN ROLE.
This new user is not allowed to restore a database.
This user does not have privilege to perform this operation on this http://object.no permission for CREATE access to DATABASE XX.
SYSDBA can restore this database
firebird.conf is modified to use legacy authorization
Modified by: Paweł Przybyła (pprzybyla_abakus.net.pl)
Version: 3.0.0 [ 10740 ]
description: It seems that the RDB$ADMIN role is not properly conveyed from an application to the server, or for some other reason the server does not apply the admin role. =>
RDB$ADMIN can't restore a database, which worked in Firebird 3 from applicantions: IBExpert, Flamerobin
I add new user with ADMIN ROLE.
This new user is not allowed to restore a database.
This user does not have privilege to perform this operation on this http://object.no permission for CREATE access to DATABASE XX.
SYSDBA can restore this database
firebird.conf is modified to use legacy authorization
In fact FB3 and later do not provide create database right to ordinary users. You did grant rdb$admin role to newuser but sooner of all did not mention it when creating database. Look here:
# ./gbak -user newuse -pas new -c ee.fbk localhost:/tmp/db.fdb
gbak: ERROR:no permission for CREATE access to DATABASE /tmp/db.fdb
gbak: ERROR:failed to create database localhost:/tmp/db.fdb
gbak:Exiting before completion due to errors
# ./gbak -user newuse -role 'rdb$admin' -pas new -c ee.fbk localhost:/tmp/db.fdb
#
It's also possible that your tool has old version and does not pass role to firebird server when you _create_ database. I have to mark this as "won't fix" cause I have no reply from you for a long time.
Submitted by: Paweł Przybyła (pprzybyla_abakus.net.pl)
Jira_subtask_inward CORE4648
RDB$ADMIN can't restore a database, which worked in Firebird 3 from applicantions: IBExpert, Flamerobin
I add new user with ADMIN ROLE.
This new user is not allowed to restore a database.
This user does not have privilege to perform this operation on this http://object.no permission for CREATE access to DATABASE XX.
SYSDBA can restore this database
firebird.conf is modified to use legacy authorization
AuthServer = Legacy_Auth
AuthClient = Legacy_Auth
UserManager = Legacy_UserManager
CryptPlugin =
WireCrypt = Disabled
The text was updated successfully, but these errors were encountered: