From: | Hendrik Hansmeier <hendrik(dot)hansmeier(at)hh-it(dot)co> |
---|---|
To: | pgadmin-support(at)lists(dot)postgresql(dot)org |
Subject: | pgadmin4 container deployment with ldap-authentication |
Date: | 2020-08-10 23:05:47 |
Message-ID: | 7534aa1f-56f6-7624-eecf-0087d69bbcbe@hh-it.co |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hi,
i am trying to get pgadmin4 running in server-mode as a
docker-container. So i pulled the image and after i tried out the image
a little bit, i tried to use ldap-authentication.
Unfortunately, i didn't get it running as expected. I am not able to
authenticate against my samba 4-domain. This is how i tried to launch
the container:
docker run -p 8280:80
-e "PGADMIN_DEFAULT_EMAIL=<emailAddress>"
-e "PGADMIN_DEFAULT_PASSWORD=<password>"
-e "AUTHENTICATION_SOURCES=['ldap']"
-e "LDAP_AUTO_CREATE_USER=True"
-e "LDAP_SERVER_URI='ldaps://<domaincontroller>:636'"
-e "LDAP_BASE_DN='cn=Users,dc=mydomain,dc=local'"
-e "LDAP_BIND_USER='cn=User1,cn=Users,dc=mydomain,dc=local'"
-e "LDAP_BIND_PASSWORD=<BindDNPassword>"
-e "LDAP_CA_CERT_FILE='/etc/ssl/certs/myca.pem'"
-e "LDAP_CERT_FILE='/etc/ssl/certs/my.cert.pem'"
-e "LDAP_KEY_FILE='/etc/ssl/private/my.key.pem'"
-d dpage/pgadmin4
I am using the container behind a reverse-proxy on nginx (debian
buster), for the first try via http. The authentication with the given
user PGADMIN_DEFAULT_EMAIL works as expected but ldap-authentication
results in an error-message "Specified user does not exist".
Am i using the environment-parameters for ldap-authentication correctly?
May a reverse-proxy over https help to get ldaps working?
--
Best regards,
Hendrik Hansmeier
Hendrik Hansmeier IT-Consulting ::: Bunsenstraße 5 ::: 51647 Gummersbach
FON +49 (0) 2261 814 174 ::: MOB +49 (0) 151 235 866 02 ::: E-MAIL
hendrik(dot)hansmeier(at)hh-it(dot)co
USt-IdNr.: DE311717013 ::: Finanzamt Gummersbach
From | Date | Subject | |
---|---|---|---|
Next Message | Khushboo Vashi | 2020-08-11 04:09:33 | Re: pgadmin4 container deployment with ldap-authentication |
Previous Message | Akshay Joshi | 2020-08-07 12:15:00 | Re: Can't Access Tables on MS Virtual Machine running Server 2016 Standard |