pgsql: libpq: Set LDAP protocol version 3

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: libpq: Set LDAP protocol version 3
Date: 2025-08-12 19:11:45
Message-ID: E1uluPR-000EMc-2Y@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

libpq: Set LDAP protocol version 3

Some LDAP servers reject the default version 2 protocol. So set
version 3 before starting the connection. This matches how the
backend LDAP code has worked all along.

Co-authored-by: Andrew Jackson <andrewjackson947(at)gmail(dot)com>
Reviewed-by: Pavel Seleznev <pavel(dot)seleznev(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/CAKK5BkHixcivSCA9pfd_eUp7wkLRhvQ6OtGLAYrWC%3Dk7E76LDQ%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5f19d13dfed35d8d4ed80d555f2d32b106771b61

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 10 ++++++++++
1 file changed, 10 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message noreply 2025-08-12 22:06:28 pgsql: Tag refs/tags/REL_15_14 was created
Previous Message Jacob Champion 2025-08-11 22:58:30 Re: pgsql: oauth: Add unit tests for multiplexer handling