migrado de rlm_rest a rlm_sql_postgress y rlm_sql
This commit is contained in:
28
freeradius/mods-available/sql
Normal file
28
freeradius/mods-available/sql
Normal file
@@ -0,0 +1,28 @@
|
||||
sql {
|
||||
driver = "rlm_sql_postgresql"
|
||||
dialect = "postgresql"
|
||||
|
||||
server = "postgres"
|
||||
port = 5432
|
||||
login = "radius"
|
||||
password = "radius"
|
||||
radius_db = "radius"
|
||||
|
||||
pool {
|
||||
start = 2
|
||||
min = 1
|
||||
max = 5
|
||||
spare = 1
|
||||
uses = 0
|
||||
lifetime = 0
|
||||
cleanup_interval = 30
|
||||
}
|
||||
|
||||
# Leave default queries location
|
||||
# queries = ${modconfdir}/sql/main/${dialect}/queries.conf
|
||||
|
||||
read_clients = no
|
||||
|
||||
# We only use per-user tables; disable group processing to avoid extra schema
|
||||
read_groups = no
|
||||
}
|
||||
Reference in New Issue
Block a user