Comments (7)
That error itself means that SRP authentication wasn't initialized, which would mean that no SYSDBA user was created using SRP. How did you launch the image?
from firebird-docker.
Looking at the entrypoint code, this may happen if you enabled legacy authentication, but are using a Firebird 3 client that tries SRP first (which is the default).
Consider not using EnableLegacyClientAuth
, or if you really need legacy authentication, use a Firebird 2.5 client, or change the client config to use AuthClient=Legacy_Auth, Srp
instead of the default of AuthClient=Srp, Legacy_Auth
(by putting a firebird.conf
with that setting in the same location as libfbclient.so
or fbclient.dll
used by your application.
from firebird-docker.
@jacobalberty It might be advisable to also initialize a SRP user when EnableLegacyClientAuth=true
. You could create it as SYSDBA as well, or just create a SRP user and drop it. Eg when EnableLegacyClientAuth is set, execute
create or alter user SYSDBA password '${ISC_PASSWORD}' using plugin Legacy_UserManager;
create or alter user SYSDBA password '${ISC_PASSWORD}' using plugin Srp;
instead of just
create or alter user SYSDBA password '${ISC_PASSWORD}';
from firebird-docker.
Thanks @mrotteveel for the info.
I am launching the container using a docker compose file and was setting the enablelegacyclientauth
.
Commenting this out resolved the problem 👍
version: '3'
services:
firebird:
image: "jacobalberty/firebird:3.0.4"
networks:
- test
ports:
- "3050:3050"
environment:
FIREBIRD_DATABASE: "test.gdb"
FIREBIRD_USER: "test"
ISC_PASSWORD: "pass"
# Commenting out the line below resolved the problem
#EnableLegacyClientAuth: "true"
EnableWireCrypt: "true"
from firebird-docker.
Always throw error even if i set ISC_PASSWORD env password: Your user name and password are not defined. Ask your database administrator to set up a Firebird login.
from firebird-docker.
@iambudi Please be more descriptive with your problem. Exactly which options did you use and how did you connect?
from firebird-docker.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 14 days.
from firebird-docker.
Related Issues (20)
- Firebird 3.0 restore and FIREBIRD_ALIASES not working together HOT 1
- External engine FBNETEXTERNALENGINE not found HOT 1
- Firebird 5 image? HOT 1
- Configure Page Size or Charset HOT 2
- request for firebird 4.0.3 image HOT 1
- request for firebird 4.0.4 image HOT 3
- Is there a Firebird 2.5 32 Bit Image? HOT 1
- docker image status "Restarting (127) Less than a second ago" HOT 3
- Updated images? HOT 2
- Image User Firebird in readonly non root environments HOT 9
- Add DataTypeCompatibility parameter HOT 1
- use debian bullseye for base image HOT 7
- Unable to connect to docker container via JDBC HOT 2
- Volume mapping throws infinite restarting loop HOT 4
- Firebird POST_EVENT problema with docker HOT 4
- python3-pip unable to install due to netbase error HOT 4
- Cannot access or select from tables from docker firebird database HOT 12
- Get "Incomatible data type" error when using gsec or isql HOT 1
- 2.5.9-ss: “Your user name and password are not defined. Ask your database administrator to set up a Firebird login.”
- Database already opened with engine instance, incompatible with current HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebird-docker.