Commit 95efa159 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Add variables to the template

parent 86541431
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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)))"