Skip to content

Support SRV record lookup and failover (rfc2782) #191

Closed
@cperrin88

Description

@cperrin88

To allow higher availability for LDAP, it would be nice if this implementation supported looking up SRV records according to rfc2782.

The lookup would be on

_ldap._tcp_.$HOSTNAME

and would return a list like

_ldap._tcp.example.com. 600 IN  SRV 0 100 389 ldap1.example.com
_ldap._tcp.example.com. 600 IN  SRV 0 100 389 ldap2.example.com
_ldap._tcp.example.com. 600 IN  SRV 0 100 389 ldap3.example.com

These should be tried according to the priority and weight fields. Pages 5 and 6 of rfc2782 explain how te process should work.

Real world use would be for example for Active Directories in a HA setup.

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