From: | Le-DOC <ledoc666(at)gmail(dot)com> |
---|---|
To: | pgadmin-support(at)lists(dot)postgresql(dot)org |
Subject: | Pgadmin with active directory. |
Date: | 2020-10-05 13:14:16 |
Message-ID: | CA+ZuJVqr2wymBWW2-h2kV2ZNUFTGpiZdjYMVPO93bmcD4Xze1g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
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://xxxx.pam.lan:389'
LDAP_USERNAME_ATTRIBUTE = 'sAMAccountName'
LDAP_SEARCH_FILTER = '(&(objectClass=user)(|(memberof=CN=00 - Gestionnaires
Applications,OU=Distribution,OU=_Groupes,DC=pam,DC=lan)(memberof=CN=00 -
Administration
Système,OU=Distribution,OU=_Groupes,DC=pam,DC=lan)(memberof=CN=Urbanisation
SEI,OU=Distribution,OU=_Groupes,DC=pam,DC=lan)))'
LDAP_SEARCH_SCOPE = 'SUBTREE'
LDAP_BIND_USER = 'Browse(dot)PGAdmin(at)pam(dot)lan'
LDAP_BIND_PASSWORD = '...'
But still login or password invalid.
I have no more error in Apache log, or pgadmin log.
Do you have an idea?
From | Date | Subject | |
---|---|---|---|
Next Message | Khushboo Vashi | 2020-10-06 04:44:45 | Re: Pgadmin with active directory. |
Previous Message | Dave Page | 2020-10-05 12:10:41 | Re: Syntax error on pgAdmin4 start |