Multiple LDAP servers


(ZZircon Technologies SL) #1

Hi, is it possible to configure multiple hosts for a LDAP connector, balancing connections or just for failing back scenarios?

  • 1
  • 2
  • 3
  • 4
  • 5

0 voters


(Simone Scarduzio) #2

This is a good idea, not there yet but would be good to have


(Benoît Quartier) #3

+1, This would be really nice


#4

Any sign of this happening ? An enterprise product really should support multiple LDAP nodes.


(Simone Scarduzio) #5

Added to current backlog, this is important.


(Simone Scarduzio) #6

Implemented round robin and failover HA mode for multiple servers. Now in master, target release 1.16.30


(Craig Sands) #7

@sscarduzio I found the commit but can’t find the documentation to enable it. Am I correct that:

ldaps:
- name: ldap1
  host: ldap1.example.com
  port: 636
  ssl_enabled: true

becomes:

ldaps:
- name: ldapHA
  servers: ["ldaps://ldap1.example.com:636", "ldaps://ldap2.example.com:636"]

??
I noticed a ‘HA_KEY’, what is that?

Thanks.

SIMONE EDIT: YAML formatting (wrapping code in triple backquotes ```)


(Simone Scarduzio) #8

Hi @craigsands, I totally forgot to document this :frowning: But your sample settings should work.