IN radiusd.conf :
--------------------------------------------------------------------------------------
modules {
}
authorize {
}
--------------------------------------------------------------------------------------
Next you just need to write a program ("/your/program") that accepts the username via STDIN , does your look up and prints the Pairs to STDOUT.
Example of /your/program :
--------------------------------------------------------------------------------------
#!/usr/bin/perl
my $username = $ARGV[0];
[sql query here]
print "Session-Timeout = $X, Idle-Timeout = $Y\n";
exit 0;
--------------------------------------------------------------------------------------
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!
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
