Re: [LDAPS] Test connection user with ldaps server

2021-02-16 Thread João Gaspar
Hi all, thanks for the feedback. I was able to do it successfully but I didn't understand yet if there is a bug in pg_hba.conf LDAP link interpretation or a messy domain. So as I said previously, the ldapsearch is finding correctly the user1 fine using only the url dc=company,dc=example,dc=com l

Re: [LDAPS] Test connection user with ldaps server

2021-02-15 Thread Thomas Munro
On Tue, Feb 16, 2021 at 4:32 AM Laurenz Albe wrote: > What I would do is experiment with the "ldapsearch" executable from OpenLDAP > and see > if you can reproduce the problem from the command line. Also, maybe try doing this as the "postgres" user (or whatever user PostgreSQL runs as), just in

Re: [LDAPS] Test connection user with ldaps server

2021-02-15 Thread Laurenz Albe
On Sat, 2021-02-13 at 10:36 +, João Gaspar wrote: > I have a PostgreSQL 13.1 (RHEL 8.3) Server and I want to configure the > pg_hba.conf with a remote ldaps server. > > My steps: > > I create a PostgreSQL user1 with superuser role to test the ldaps > authentication method in the terminal cl

[LDAPS] Test connection user with ldaps server

2021-02-13 Thread João Gaspar
Hi all, I have a PostgreSQL 13.1 (RHEL 8.3) Server and I want to configure the pg_hba.conf with a remote ldaps server. My steps: I create a PostgreSQL user1 with superuser role to test the ldaps authentication method in the terminal client. Modify the pg_hba.conf to: hostall al