Freeradius 3, Posgresql 14, application_name

Andrey Grigorian andrey.grigorian at gmail.com
Mon Aug 22 19:47:13 UTC 2022


Hi,

there is a configuration option in /etc/freeradius/3.0/mods-available/sql

sql {

     postgresql {

        send_application_name = yes

     }

}

which makes Freeradius use "application_name" parameter to connect to
Postgresql.

is there any way to change the value Freeradius uses to fill this parameter?

the default value in the logs "application_name='FreeRADIUS 3.0.20 -
radiusd (sql)" which is not useful for me as i'm going to have several
Freeradius servers connected to the same external Postgresql DB.

log rlm_sql_postgresql: Connecting using parameters: dbname='radius'
host='postgresql1' port=5432 user='freeradius' password='freeradius'
application_name='FreeRADIUS 3.0.20 - radiusd (sql)'

--
 Andrey Grigorian


More information about the Freeradius-Users mailing list