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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Jackson <andrewjackson947(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Update LDAP Protocol in fe-connect.c to v3
Date: 2025-03-22 23:10:51
Message-ID: 444065.1742685051@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Jackson <andrewjackson947(at)gmail(dot)com> writes:
> Currently the LDAP usage in fe-connect.c does not explicitly set the
> protocol version to v3. This causes issues with many LDAP servers as they
> will often require clients to use the v3 protocol and disallow any use of
> the v2 protocol.

This is the first complaint I can recall hearing about that, so
exactly which ones are "many"? Also, are we really sufficiently
compliant with v3 that just adding this bit is enough?

> One further note is that I do not currently see any test coverage over the
> LDAP functionality in `fe-connect.c`. I am happy to add that to this patch
> if needed.

src/test/ldap/ doesn't do it for you?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2025-03-23 00:01:14 Re: Proposal - Allow extensions to set a Plan Identifier
Previous Message Andrei Lepikhov 2025-03-22 22:50:06 Re: Proposal - Allow extensions to set a Plan Identifier