| From: | Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> |
|---|---|
| To: | pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | Re: integrate Postgres Users Authentication with our own LDAP Server |
| Date: | 2019-05-09 06:17:37 |
| Message-ID: | fe1f2926-60e8-5b76-85d8-5753b0ea8de8@matrix.gatewaynet.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-hackers pgsql-performance |
On 9/5/19 7:51 π.μ., M Tarkeshwar Rao wrote:
>
> Hi all,
>
> We would need to integrate Postgres Users Authentication with our own LDAP Server.
>
> Basically as of now we are able to login to Postgress DB with a user/password credential.
>
> These user objects are the part of Postgres DB server. Now we want that these users should be authenticated by LDAP server.
>
> We would want the authentication to be done with LDAP, so basically the user credentials should be store in LDAP server
>
> Can you mention the prescribed steps in Postgres needed for this integration with LDAP Server?
>
The users must be existent as postgresql users. Authorization : roles, privileges etc also will be taken by postgresql definitions, grants, etc. But the authentication will be done in LDAP.
It is done in pg_hba.conf. There are two ways to do this (with 1 or 2 phases). We have successfully used both Lotus Notes LDAP and FreeIPA LDAP with our production PostgreSQL servers, I have tested
with openldap as well, so I guess chances are that it will work with yours.
>
> Regards
>
> Tarkeshwar
>
--
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Laurenz Albe | 2019-05-09 06:42:28 | Re: integrate Postgres Users Authentication with our own LDAP Server |
| Previous Message | Lewis Shobbrook | 2019-05-09 05:30:11 | Re: Amazon Linux Support? |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Julien Rouhaud | 2019-05-09 06:19:44 | Re: Wrong return code in vacuumdb when multiple jobs are used |
| Previous Message | craig.ringer | 2019-05-09 06:03:00 | Re: relcache reference leak with pglogical replication to insert-only partitioned table? |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Laurenz Albe | 2019-05-09 06:42:28 | Re: integrate Postgres Users Authentication with our own LDAP Server |
| Previous Message | M Tarkeshwar Rao | 2019-05-09 04:51:02 | integrate Postgres Users Authentication with our own LDAP Server |