Skip to content
Snippets Groups Projects
Commit 95efa159 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Add variables to the template

parent 86541431
Branches
Tags
No related merge requests found
......@@ -25,7 +25,7 @@ sql {
#
# mysql, mssql, oracle, postgresql
#
database = "mysql"
database = "<%= @database %>"
#
# Which FreeRADIUS driver to use.
......@@ -33,13 +33,13 @@ sql {
driver = "rlm_sql_${database}"
# Connection info:
server = "localhost"
server = "<%= @server %>"
#port = 3306
login = "radius"
password = "radpass"
login = "<%= @login %>"
password = "<%= @password %>"
# Database table configuration for everything except Oracle
radius_db = "radius"
radius_db = "<%= @radius_db %>"
# If you are using Oracle then use this instead
# radius_db = "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=your_sid)))"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment