Files
Tygozwolle 0bb36ea502
Build and Push Docker Image to Gitea Container Registry / build-and-push (push) Successful in 6m17s
feat: add FreeRADIUS PostgreSQL configuration module to mods-enabled
2026-07-24 14:22:38 +02:00

46 lines
818 B
Plaintext

sql {
driver = "rlm_sql_postgresql"
dialect = "postgresql"
server = "postgres"
port = 5432
login = "radius"
password = "radpass"
radius_db = "radius"
# Standard FreeRADIUS SQL Table Mappings
authcheck_table = "radcheck"
authreply_table = "radreply"
groupcheck_table = "radgroupcheck"
groupreply_table = "radgroupreply"
usergroup_table = "radusergroup"
# Accounting Table Mappings
acct_table1 = "radacct"
acct_table2 = "radacct"
# Post-auth Table Mapping
postauth_table = "radpostauth"
# NAS Client Table Mapping
client_table = "nas"
read_clients = yes
group_attribute = "SQL-Group"
pool {
start = 2
min = 1
max = 10
spare = 3
uses = 0
retry_delay = 30
lifetime = 0
idle_timeout = 60
}
read_groups = yes
$INCLUDE ${modconfdir}/${.:name}/main/${dialect}/queries.conf
}