Hi, how can i run diferent scripts depending on the usergroup of the
username?
According to the documentation:
in radiusd.conf i can define diferent rlm_exec scripts:
modules {
exec tariff {
program = "/path/to/program/tariff"
wait = yes
input_pairs = request
output_pairs = reply
}
[...]
exec billing {
program = "/path/to/program/billing"
wait = yes
input_pairs = request
output_pairs = reply
}
[...]
}
authorize {
[...]
exec
[...]
}
So, _every_ user will execute both scripts, i want that user a from
usergroup tariff execute the script tariff, user b from usergroup
billing execute script billing, etc
Right now im doing it with radgroupreply and exec-program-wait, but this
is depreciated, isnt it?
what options did you leave me?, to check this inside every script?
thanks
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html