6 # Write Moonshot-*-TargetedId to the database.
8 # Schema raddb/sql/moonshot-targeted-ids/<DB>/schema.sql
9 # Queries raddb/sql/moonshot-targeted-ids/<DB>/queries.conf
11 sql moonshot_tid_sql {
13 # The dialect of SQL you want to use, this should usually match
16 # If you're using rlm_sql_null, then it should be the type of
17 # database the logged queries are going to be executed against.
20 # The sub-module to use to execute queries. This should match
21 # the database you're attempting to connect to.
23 # There are CUI queries available for:
25 # * rlm_sql_postgresql
27 # * rlm_sql_null (log queries to disk)
29 driver = "rlm_sql_${dialect}"
32 filename = ${radacctdir}/moonshot-targeted-ids.sqlite
33 bootstrap = ${modconfdir}/${..:name}/moonshot-targeted-ids/sqlite/schema.sql
36 # Write CUI queries to a logfile. Useful for debugging.
37 # logfile = ${logdir}/cuilog.sql
49 moonshot_tid_table = "moonshot-targeted-ids"
50 sql_user_name = "%{User-Name}"
52 $INCLUDE ${modconfdir}/${.:name}/moonshot-targeted-ids/${dialect}/queries.conf