Document use of ldapurl with LDAP simple bind
Jacob Champion <jacob.champion@enterprisedb.com>
From: Jacob Champion <jacob.champion@enterprisedb.com>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2024-05-24T18:54:49Z
Lists: pgsql-hackers
Attachments
- 0001-docs-explain-how-to-use-ldapurl-with-simple-bind.patch (application/octet-stream) patch 0001
- 0002-ldap-test-ldapurl-with-simple-bind.patch (application/octet-stream) patch 0002
Hi all,
Our documentation implies that the ldapurl setting in pg_hba is used
for search+bind mode only. It was pointed out to me recently that this
is not true, and if you're dealing with simple bind on a non-standard
scheme or port, then ldapurl makes the HBA easier to read:
... ldap ldapurl="ldaps://ldap.example.net:49151" ldapprefix="cn="
ldapsuffix=", dc=example, dc=net"
0001 tries to document this helpful behavior a little better, and 0002
pins it with a test. WDYT?
Thanks,
--Jacob
Commits
-
ldapurl is supported with simple bind
- f68d85bf6923 18.0 landed