Is there an option to start radiusd with ldap module when ldap server is not available?
Is there an option to start radiusd with ldap module when ldap server is not available on start? Instead of exiting, continue trying reconnecting while successfully processing requests that don't require ldap ? currently, I have this behavoir: Info: Starting - reading configuration files ... Info: Debugger not attached Info: rlm_ldap: libldap vendor: OpenLDAP, version: 20608 Error: rlm_ldap (ldap_wifi_od): Bind with uid=svc_radius_wifi,cn=... to ldaps://ds1....:636: Can't contact LDAP server Error: rlm_ldap (ldap_wifi_od): Opening connection failed (0) Error: /opt/etc/raddb/mods-enabled/ldap_wifi_od[7]: Instantiation failed for module "ldap_wifi_od"
On Feb 16, 2025, at 7:14 PM, Alexey D. Filimonov <alexey@filimonic.net> wrote:
Is there an option to start radiusd with ldap module when ldap server is not available on start? Instead of exiting, continue trying reconnecting while successfully processing requests that don't require ldap ?
Read mods-available/ldap, and see the documentation in the "pool" section. Alan DeKok.
Thanks again, Alan! # Connections to create during module instantiation. # If the server cannot create specified number of # connections during instantiation it will exit. # Set to 0 to allow the server to start without the # directory being available. start = ${thread[pool].start_servers} On 2025-02-17 03:19, Alan DeKok wrote:
On Feb 16, 2025, at 7:14 PM, Alexey D. Filimonov <alexey@filimonic.net> wrote:
Is there an option to start radiusd with ldap module when ldap server is not available on start? Instead of exiting, continue trying reconnecting while successfully processing requests that don't require ldap ? Read mods-available/ldap, and see the documentation in the "pool" section.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Alexey D. Filimonov