Skip to content

Multiple LDAP servers support for redundancy #170

Open
@bloodeagle40234

Description

@bloodeagle40234

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.

(Optional): Suggest a solution

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions