This is close to what I'm playing with ...
IN radiusd.conf : -------------------------------------------------------------------------------------- modules { exec session_lookup wait = yes program = "/your/program %{User-Name}" input_pairs = request output_pairs = reply }
authorize { session_lookup } -------------------------------------------------------------------------
<snip>
At 12:12 PM 11/20/2003 -0800, you wrote:Hello!
How will I make use of the 'session-timeout' attribute (No- 27) in freeradius. Every time I get a login request, I want to query this value associated with that particular user from a sql db and send it back with the request. Would this require additional coding. Also, can the Idle-timeout attribute be set?
Appreciate any help.
Cheers!
You could also use the 'rlm_sql' module, which lets you replace the 'users' file with an sql database.
See the documentation for the sql module.
-Chris -- \\\|||/// \ StarNet Inc. \ Chris Parker \ ~ ~ / \ WX *is* Wireless! \ Director, Engineering | @ @ | \ http://www.starnetwx.net \ (847) 963-0116 oOo---(_)---oOo--\------------------------------------------------------ \ Wholesale Internet Services - http://www.megapop.net
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
