问题原文
原帖链接 · user1070579 · CC BY-SA 3.0
I have a server with postgresql-9.4 fresh install and I have another server with LDAP already installed. I want to connect postgresql with LDAP user that already exists.
What's the basic configuration that I should change in /var/lib/pgsql/9.4/data/pg_hba.conf and what else I should do?
社区高分解答
原帖链接 · user1070579 · CC BY-SA 3.0
Thanks everyone, I just made a change in /var/lib/pgsql/9.4/data/pg_hba.conf with :
local all all ldap ldapserver=ldap.server ldapport=389 ldaptls=0 ldapprefix="uid=" ldapsuffix=",ou=People,dc=domain,dc=com"
And the authentication works!
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
