Show pageOld revisionsBacklinksODT exportBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ======Overview====== LDAP configuration allows you provide centralized authentication. It can be configured as follows: In the beginning of the pg_hba.conf file in the PostgreSQL home, add the following setting: <sxh bash> host all all 0.0.0.0/0 pam pamservice=postgresql </sxh> Once that is done, reload the configuration: <sxh bash> postgres=# SELECT pg_reload_conf(); pg_reload_conf ---------------- t (1 row) </sxh> Now, create a user without any password and the roles which you want this user to have: <sxh bash> postgres=# create user jimmy superuser; CREATE ROLE postgres=# \q </sxh> You are all set to go :) postgresql_auth_ldap.txt Last modified: 2019/10/18 20:04by 127.0.0.1