Re: Update LDAP Protocol in fe-connect.c to v3

Peter Eisentraut <peter@eisentraut.org>

From: Peter Eisentraut <peter@eisentraut.org>
To: Pavel Seleznev <pavel.seleznev@gmail.com>, pgsql-hackers@lists.postgresql.org
Cc: Andrew Jackson <andrewjackson947@gmail.com>
Date: 2025-05-23T11:51:05Z
Lists: pgsql-hackers
On 15.05.25 14:54, Pavel Seleznev wrote:
> I applied your patch. I ran extended application tests relative to vanilla ones, which include various scenarios of working with LDAP and I think that we can safely apply the patch in the PG18.
> 
> I did not see the need for additional LDAP tests, since compatibility is provided by the LDAP library itself,  and not by the Postgres code. Also  protocol version 3 has been published for quite a long time (more than 20 years) and real use by clients is through version 3

FWIW, I'm prepared to commit this, but not for PG 18 at this point.



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Add TAP tests for LDAP connection parameter lookup

  2. libpq: Set LDAP protocol version 3