dignajar / another-ldap-auth

LDAP Authentication for Nginx, Nginx ingress controller (Kubernetes), and HAProxy via a subrequest.
MIT License
41 stars 20 forks source link

Support multiple ldap server listing to improve resiliency #37

Open aakarshg opened 3 years ago

aakarshg commented 3 years ago

Instead of connecting to a single LDAP server and if it fails for some reason not being able to support any services, it'd be really helpful to take a list of ldap servers to connect to in case the primary one goes down, where we get the can't connect error we should fall back to the list of secondaries.

This would be similar to the listing suppoorted by nginx-ldap-auth.. https://github.com/tiagoapimenta/nginx-ldap-auth/blob/master/config.sample.yaml#L3

dignajar commented 3 years ago

Yes, it is possible, I will do it when I have some time. Are you using Another LDAP Auth in Kubernetes ?

aakarshg commented 3 years ago

Thanks @dignajar and yes indeed using it kubernetes:)

dignajar commented 3 years ago

Great, I'm working as well in this tool for Kubernetes, and I need some testers :D https://github.com/dignajar/another-scheduler