Open
Description
Proposed change
For redundant LDAP service, usually multiple LDAP server are provided by admin. Then, users can integrate their authenticator to write every (multiple) server uri in their ldap.conf file (See URI section in *1). A LDAP client will try the next one if the one currently used are not responsive in mean time.
As proposed change, it would be nice that
- Enable server_address and server_port to have list (or dict) in ldapauthenticator conf to have multiple servers
- get_connection will be changed to iterate the servers when a server failed to connect
Those changes will enable us to redirect the one of the available servers in the servers list automatically even if some of servers being in maintainance.
*1: https://linux.die.net/man/5/ldap.conf
Alternative options
Sorry, I don't have another option for now.
Who would use this feature?
Absolutely us. And any other guys who want to build the jupyterhub and LDAP environment with high availability.