<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br>Hi ALL<br><br>i have attribute Session-Timeout with value 360000 at radreply database<br><br>and want to modify the value when the radius return it when radius replies, i enabled perl module <br><br>and enable it at post-auth<br><br>at the perl sub post-auth i added<br><br>.....<br>print attr<br>$RAD_REPLY{'Session-Timeout'} = "5" ;<br>.....<br>print attr<br>.....<br>return RLM_MODULE_UPDATED<br><br>but that not affect the return vlaue :<br>Thu Mar  5 23:22:30 2009 : Debug: rlm_perl: RAD_REPLY: Cisco-AVPair = throttle=55<br>Thu Mar  5 23:22:30 2009 : Debug: rlm_perl: RAD_REPLY: Session-Timeout = 360000<br>Thu Mar  5 23:22:30 2009 : Debug: rlm_perl: RAD_REPLY: Framed-IP-Address = xxxxx<br>Thu Mar  5 23:22:30 2009 : Debug: rlm_perl: RAD_REQUEST: SQL-User-Name = user<br>...............<br>Thu Mar  5 23:22:30 2009 : Debug: rlm_perl: RAD_REPLY: Cisco-AVPair = throttle=55<br>Thu Mar  5 23:22:30 2009 : Debug: rlm_perl: RAD_REPLY: Session-Timeout = 5<br>Thu Mar  5 23:22:30 2009 : Debug: rlm_perl: RAD_REPLY: Framed-IP-Address = xxxxxx<br><br>but radius sent back <br>Sending Access-Accept of id 1 to 192.168.100.10:32830<br>        Framed-IP-Address := xxxx<br>        Cisco-AVPair = "throttle=55"<br>        Session-Timeout = 360000<br><br><br>with value of 360000 not (5)<br><br>and then i enabled the perl module on authorize and authentication section at radius.conf and put the same pervious code in the same subs (authorize and authentication ) at perl module , but i got the same result , value not changed <br><br>and also the same result when change the return code to become RLM_MODULE_UPDATED<br><br>any hint please ?!! , can i modify the value of reply attributes ? <br><br>Thanks lot <br><br><br><br><br /><hr />Windows Live™ Contacts: Organize your contact list.  <a href='http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009' target='_new'>Check it out.</a></body>
</html>