Radiator Server Documentation — v10.33.3
Table of Contents
  • server-selection
  • Allowed values
  • Example

server-selection

Selects the server-selection algorithm used when multiple LDAP server blocks are configured. See Backend Load Balancing for algorithm details, tie-breaking rules, pool-skip behavior, and full examples.

Allowed values

  • fallback - Tries servers in priority order (default).
  • round-robin - Distributes requests across available servers in rotation.
  • least-connections - Routes to the server with the fewest in-use connections.
  • no-fallback - Tries only the highest-priority available server; failures are not retried on other servers.

Default: fallback

Example

ldap "LDAP_HA" {
    server-selection least-connections;

    server "LDAP1" {
        url "ldap://ldap1.example.com:389/";
        # ...
    }

    server "LDAP2" {
        url "ldap://ldap2.example.com:389/";
        # ...
    }

    search "FIND_USER" { ... }
}
Navigation
  • @init

  • @verification

  • aaa

  • backends

    • file

    • http

    • ipmap

    • jsonfile

    • ldap

      • @authentication

      • search

      • server

      • server-selection

      • tls

    • mysql

    • postgresql

    • radius

    • radius-dns-sd

    • sqlite

    • system

  • caches

  • captures

  • certificates

  • clients

  • conditions

  • dictionary

  • hmac-otp

  • include

  • ip-accept

  • license

  • logging

  • management

  • proxy-protocol

  • scripts

  • servers

  • statistics

  • stats

  • ui