Description of problem:
Could it be possible in the next releases to specify several Directory Servers associated to weight or a round robin option.
Like this the LDAP Client is not going to always ask to the same Directory Server all its requests even if several LDAP are defined.
If it is not clear, feel free to contact me for more details.
The service discovery feature allows back ends to automatically find
the appropriate servers to connect to using a special DNS query.
If no servers are specified, the back end automatically uses service
discovery to try to find a server. Optionally, the user may choose to
use both fixed server addresses and service discovery by inserting a
special keyword, “_srv_”, in the list of servers. The order of
preference is maintained. This feature is useful if, for example, the
user prefers to use service discovery whenever possible, and fall back
to a specific server when no servers can be discovered using DNS.
The domain name
Please refer to the “dns_discovery_domain” parameter in the
sssd.conf(5) manual page for more defails.
If service discovery is used in the back end, specifies the domain part of the service discovery DNS query.
Default: Use the domain part of machine´s hostname
The queries usually specify _tcp as the protocol. Exceptions are
documented in respective option description.
For more information on the service discovery mechanism, refer to RFC
When using DNS discovery, RFC 2782 specifies a weighted round-robin approach. So to accomplish what you're asking for, it can already be done simply by setting SSSD to use DNS SRV records as described above, and configuring the SRV records on your DNS server according to RFC 2782.
Well, you are perfectly right.
I did not think about that.
Well done !