On Sat, Nov 4, 2023 at 2:06 AM Stefan Harbich <stefan.harb...@harnet.de>
wrote:

> 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?
>
config_local.py should be created in the same directory as config.py.
Please refer: https://www.pgadmin.org/docs/pgadmin4/7.8/config_py.html

>
> Greetings from Stefan Harbich
>
>
>

Reply via email to