rlm_exec for diferent users
Miguel
mmiranda at 123.com.sv
Sat Oct 15 00:47:45 CEST 2005
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
More information about the Freeradius-Users
mailing list