22 Aug
2022
22 Aug
'22
11:02 p.m.
On Aug 22, 2022, at 3:47 PM, Andrey Grigorian <andrey.grigorian@gmail.com> wrote:
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?
No. That could be added easily, I think. See src/modules/rlm_sql/drivers/rlm_sq_postgresql.c
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.
OK. Alan DeKok.