Hi all,
I have setup three freeradius servers v0.7.1
- two authorization, authentication
- one accounting
the two servers for authentication are working with "files".
the accouting server is working with mysql.
The NASes are using BOTH servers (load-balancing).
The feature "Simultaneous-Use" uses the "radwtmp" file. But the accounting
do not go on those servers, so I cant do the check.
I have done a little perl script which uses the accouting information to
detect duplicate session and I would like to implement it. how can I tell
the radius server to exec my script to check for "Simultaneous-Use" at
connection ?
usage: myscript.pl <username> <Simultaneous-Use limit>
response: integer 0 or 1 (as 1 means "Simultaneous-Use limit" reached and 0
means "Simultaneous-Use limit" not reached)
Regards,
P.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html