Re: pgAdmin4 web ldap authtification

From: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
To: Stefan Harbich <stefan(dot)harbich(at)harnet(dot)de>
Cc: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: Re: pgAdmin4 web ldap authtification
Date: 2023-11-06 05:00:40
Message-ID: CAFOhELcn0uRKej4n1UeCWPEVn_DNUSQtmOQQkVyxBEAL8O8cng@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Sat, Nov 4, 2023 at 2:06 AM Stefan Harbich <stefan(dot)harbich(at)harnet(dot)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
>
>
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Khushboo Vashi 2023-11-06 05:06:53 Re: Why do I need PGADMIN_DEFAULT_EMAIL for ldap?
Previous Message Aditya Toshniwal 2023-11-06 04:54:08 Re: pgadmin for ubuntu 23.10 (mantic)