Re: Update LDAP Protocol in fe-connect.c to v3 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Update LDAP Protocol in fe-connect.c to v3
Date
Msg-id 444065.1742685051@sss.pgh.pa.us
Whole thread Raw
In response to Update LDAP Protocol in fe-connect.c to v3  (Andrew Jackson <andrewjackson947@gmail.com>)
Responses Re: Update LDAP Protocol in fe-connect.c to v3
List pgsql-hackers
Andrew Jackson <andrewjackson947@gmail.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



pgsql-hackers by date:

Previous
From: Andrei Lepikhov
Date:
Subject: Re: Proposal - Allow extensions to set a Plan Identifier
Next
From: Michael Paquier
Date:
Subject: Re: Proposal - Allow extensions to set a Plan Identifier