From: Stefan Harbich <stefan.harbich@harnet.de>
To: pgsql-admin@lists.postgresql.org
Subject: pgAdmin4 web ldap authtification
Date: Fri, 03 Nov 2023 21:08:49 +0100
Message-ID: <bd912ceaf41277650d06914ce8ad1e91102875db.camel@harnet.de> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: stefan.harbich@harnet.de, pgsql-admin@lists.postgresql.org
Subject: Re: pgAdmin4 web ldap authtification
In-Reply-To: <bd912ceaf41277650d06914ce8ad1e91102875db.camel@harnet.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox