Re: Pgadmin with active directory.

2020-10-06 Thread Khushboo Vashi
On Tue, Oct 6, 2020 at 2:51 PM Le-DOC wrote: > It worked. Great 😀 > May I change LDAP_USERNAME_ATTRIBUTE to mail for logining in with email > from ldap instead of username? > > As you are trying with a dedicated user approach, it should work. You can try it but you have to provide the exact attri

Re: Pgadmin with active directory.

2020-10-06 Thread Le-DOC
It worked. Great 😀 May I change LDAP_USERNAME_ATTRIBUTE to mail for logining in with email from ldap instead of username? Le mar. 6 oct. 2020 à 10:56, Khushboo Vashi a écrit : > Hi, > > On Tue, Oct 6, 2020 at 1:07 PM Le-DOC wrote: > >> Hello, >> >> Email/Username is not valid. >> When I try use

Re: Pgadmin with active directory.

2020-10-06 Thread Khushboo Vashi
Hi, On Tue, Oct 6, 2020 at 1:07 PM Le-DOC wrote: > Hello, > > Email/Username is not valid. > When I try username. Case sensitive is correct. > So, you are able to login with your LDAP username and password. Currently, the pgAdmin LDAP implementation only allows case sensitive username, but we do

Re: Pgadmin with active directory.

2020-10-06 Thread Le-DOC
Hello, Email/Username is not valid. When I try username. Case sensitive is correct. If I try an email: incorrect username or password. Thanks Le mar. 6 oct. 2020 à 06:44, Khushboo Vashi a écrit : > Hi, > > > On Mon, Oct 5, 2020 at 6:44 PM Le-DOC wrote: > >> Hello, I'm trying to enable ldap

Re: Pgadmin with active directory.

2020-10-05 Thread Khushboo Vashi
Hi, On Mon, Oct 5, 2020 at 6:44 PM Le-DOC wrote: > Hello, I'm trying to enable ldap authentication with our active directory. > I configure config_distro.py with: > > AUTHENTICATION_SOURCES = ['ldap', 'internal'] > LDAP_AUTO_CREATE_USER = True > LDAP_CONNECTION_TIMEOUT = 30 > LDAP_SERVER_URI =

Pgadmin with active directory.

2020-10-05 Thread Le-DOC
Hello, I'm trying to enable ldap authentication with our active directory. I configure config_distro.py with: AUTHENTICATION_SOURCES = ['ldap', 'internal'] LDAP_AUTO_CREATE_USER = True LDAP_CONNECTION_TIMEOUT = 30 LDAP_SERVER_URI = 'ldap://.pam.lan:389' LDAP_USERNAME_ATTRIBUTE = 'sAMAccountNam