pgAdmin4 web ldap authtification

From: Stefan Harbich <stefan(dot)harbich(at)harnet(dot)de>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: pgAdmin4 web ldap authtification
Date: 2023-11-03 20:08:49
Message-ID: bd912ceaf41277650d06914ce8ad1e91102875db.camel@harnet.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello, my dears,

i can't get the LDAP login user to pgAdmin on the website. In Docker
Bash, I created the file config_local.py with the following content in
the “/var/lib/pgadmin” directory.
...
AUTHENTICATION_SOURCES = ['ldap','internal']
LDAP_SERVER_URI = 'ldap://<my-ip-address>:10389'
LDAP_USERNAME_ATTRIBUTE = 'uid'
LDAP_BASE_DN = 'uid=admin,ou=system'
LDAP_SEARCH_BASE_DN = 'uid=admin,ou=system'
...

Unfortunately, the content is not used after the container is
restarted. Why not?

Greetings from Stefan Harbich

Browse pgsql-admin by date

  From Date Subject
Next Message M Sarwar 2023-11-03 20:24:41 In PGAdmin, view compilation is running for ever
Previous Message Bernd Lentes 2023-11-02 22:42:54 RE: unrecognized configuration parameter "ldapbinddn" in file "/var/lib/pgsql/data/postgresql.conf"