Coder Social home page Coder Social logo

Comments (7)

mrotteveel avatar mrotteveel commented on June 28, 2024

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.

mrotteveel avatar mrotteveel commented on June 28, 2024

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.

mrotteveel avatar mrotteveel commented on June 28, 2024

@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.

wwwlicious avatar wwwlicious commented on June 28, 2024

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.

iambudi avatar iambudi commented on June 28, 2024

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.

mrotteveel avatar mrotteveel commented on June 28, 2024

@iambudi Please be more descriptive with your problem. Exactly which options did you use and how did you connect?

from firebird-docker.

github-actions avatar github-actions commented on June 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.