Downloaded Firebird database Firebird-3.0.3.32900-0_x64_pdb.zip. Extract folder install_service.bat and able to access EMPLOYEE.FDB database. Also able to access EMPLOYEE.FDB database without install_service. For creating new user for EMPLOYEE.FDB, I have open EMPLOYEE.FDB database in isql using SYSDBA USER. Used below query for create new user:
create user DEMO password 'demo' GRANT ADMIN ROLE;
After that I am also able to open EMPLOYEE.FDB database using DEMO USER in isql.
I am using third party tool for GUI : https://fishcodelib.com/Database.htm
Using above tool I am not able to access EMPLOYEE.FDB database. Getting below error :
ErrorCode: 335544472 Number: 335544472, Class: 0, Line: 0 ErrorMessage: Your user name and password are not defined. Ask your database administrator to set up a Firebird login.
Firebird configuration parameters are not set properly. Please enable the following parameters in firebird.conf: (For default SRP) WireCrypt = Enabled (For Legacy Auth) WireCrypt = Enabled AuthServer = Legacy_Auth, Srp, Win_Sspi
Set User and Password: Options -> (Global) Additional connection string parameters -> Firebird
I have already applied above configuration in firebird.conf file. Still getting the same exception. So,my question is that, is it correct way to create user for any database ? Means I want to create new database with new user for my c# application.
Example :
Database : Mydb.fdb; Users : SYSDBA (default user), demo
I want to perform all SQL operation using demo user in my C# application. So, Can you please help me how to create multiple users for specific database with different rights and grants.
I have go through :
https://firebirdsql.org/file/documentation/release_notes/html/en/3_0/rnfb30-compat-initsec.html
https://firebirdsql.org/refdocs/langrefupd25-security-rdbadmin.html
Firebird database SYSDBA connection error
But not understand how to do this.
Edit : Firebird.conf file configuration:
AuthServer = Legacy_Auth,srp,Win_Sspi
WireCrypt = Enabled
AuthClient = Srp, Win_Sspi, Legacy_Auth