Le 02/07/2025 à 14:40, Ondřej Kuzník a écrit :
On Mon, Jun 30, 2025 at 01:36:35PM +0000, BECOT Jérôme wrote:
Hello,

We use the proxy protocol with our openldap 2.5 servers (pldaps). I
noticed that client binaries allow pldaps as protocol in the host
address option starting with 2.5, but how can I add proxy headers to
the request to communicate with my servers ?

I think that there might be something with '-o' that I'm not aware of.
Hi Jérôme,
the PROXY protocol is for a (trusted) proxy to indicate that a request
has come from a different address. The command line clients do nothing
of the sort so they won't and can't send the preamble to the server. A
server should (also) listen on a non-pldap socket if clients are
supposed to be able to talk to it directly.


Hello,

if that helps, here is a doc on how configure HAProxy and OpenLDAP: https://ltb-project.org/documentation/haproxy_openldap_proxy_protocol.html


--
Clément Oudot | Identity Solutions Manager

Worteks | https://www.worteks.com

Reply via email to