From: | Andrew Jackson <andrewjackson947(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Update LDAP Protocol in fe-connect.c to v3 |
Date: | 2025-03-22 21:22:47 |
Message-ID: | CAKK5BkFsgSGRSOELQ-yx=ipaKZ0t6rjUCJ8n_fuWiKoXwPpqnw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Apologies, forgot to attach the patch in the prior email.
On Sat, Mar 22, 2025 at 4:10 PM Andrew Jackson <andrewjackson947(at)gmail(dot)com>
wrote:
> 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. Further the other usage of LDAP in postgres (in
> `backend/libpq/auth.c`) uses the v3 protocol.
>
> This patch changes fe-connect.c so that it uses the v3 protocol similar to
> `backend/libpq/auth.c`.
>
> 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.
>
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Set-version-3-protocol.patch | text/x-patch | 1.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2025-03-22 22:49:57 | Re: Add Postgres module info |
Previous Message | Andrew Jackson | 2025-03-22 21:10:28 | Update LDAP Protocol in fe-connect.c to v3 |