I am using freeradius/mysql/daloradius.
I need my customers to be able to login using a username and password that they signed up with and at the same time give them different access periods.
How do I accomplish that?
I've attempted editing /etc/freeradius/sql/mysql/dialup.conf
:
authorize_check_query = "SELECT id, username, password, attribute, value, op \
FROM ${authcheck_table} \
WHERE username = '%{SQL-User-Name}'\
ORDER BY id"