@hakim42 wrote:
Hy,
I use HAProxy for LDAP with two nodes.
My problem is that connection logs in LDAP server show IP address from HAProxy but not of clients.I saw that it is possible two forward address in HTTP mode but i didn’t find for TCP mode.
My configuration is :defaults
log global
option tcplog
option dontlognullLDAP
frontend ldap_service_front
mode tcp
bind *:389
description LDAP Service
option socket-stats
option tcpka
timeout client 300s
default_backend ldap_service_backbackend ldap_service_back
option ldap-check
server ldap-ha1.domain.com 192.168.0.10:3899 check addr 192.168.0.10
server ldap-ha2.domain.com 192.168.0.11:3899 check addr 192.168.0.11
mode tcp
balance leastconn
timeout server 300s
timeout connect 1sHave you any idea for connection being transparent sending clients IP address to LDAP Server ?
Best Regards
Posts: 1
Participants: 1