Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

HAProxy OpenLDAP transparent

$
0
0

@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 dontlognull

LDAP

frontend ldap_service_front
mode tcp
bind *:389
description LDAP Service
option socket-stats
option tcpka
timeout client 300s
default_backend ldap_service_back

backend 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 1s

Have you any idea for connection being transparent sending clients IP address to LDAP Server ?

Best Regards

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>