pgsql: ldapurl is supported with simple bind

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: ldapurl is supported with simple bind
Date: 2024-07-23 08:29:12
Message-ID: E1sWAtU-000pVm-JL@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

ldapurl is supported with simple bind

The docs currently imply that ldapurl is for search+bind only, but
that's not true. Rearrange the docs to cover this better.

Add a test ldapurl with simple bind. This was previously allowed but
unexercised, and now that it's documented it'd be good to pin the
behavior.

Improve error when mixing LDAP bind modes. The option names had gone
stale; replace them with a more general statement.

Author: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/CAOYmi+nyg9gE0LeP=xQ3AgyQGR=5ZZMkVVbWd0uR8XQmg_dd5Q(at)mail(dot)gmail(dot)com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f68d85bf69233ef842a08707bbd1204ef8216549

Modified Files
--------------
doc/src/sgml/client-auth.sgml | 23 ++++++++++++++++++++---
src/backend/libpq/hba.c | 4 ++--
src/test/ldap/t/001_auth.pl | 16 ++++++++++++++++
3 files changed, 38 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-07-23 09:00:18 pgsql: Use more consistently int64 for page numbers in SLRU-related cod
Previous Message Peter Eisentraut 2024-07-23 08:00:50 pgsql: Get rid of a global variable