how to define $RAD_REPLY ? or no need to define ? On 2/22/2011 1:29 PM, Tyller D wrote:
Maybe try it like this
if ( $lefttime le 0 ) { $RAD_REPLY{'Reply-Message'} = "Your account has expired"; return RLM_MODULE_REJECT;
}else {
$RAD_REPLY{'Session-Timeout'} = "$lefttime"; return RLM_MODULE_OK;
On Tue, Feb 22, 2011 at 6:55 AM, christian@wanxp.com <mailto:christian@wanxp.com> <christian@wanxp.com <mailto:christian@wanxp.com>> wrote:
Dear,
i am just planning to upgrade Freeradius to v2 , but i got my perl didnt send any atrribute , it worked fine in v1, is there any idea what wrong with my script in freeradius2 ?
#!/usr/bin/perl #
if ($lefttime <= 0) { print "Reply-Message=\"Your account has expired\""; exit 1; } else { print "Session-Timeout=" . $lefttime . ", "; }
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- This message has been scanned for viruses and dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is believed to be clean.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html