<p>Hi all,</p><p>  I have upgraded to Freeradius ver <a href="http://2.1.1.">2.1.1.</a> I want to use counter (using sql) so I added counter.conf in modules, nonresetcounter, dailycounter and monthlycounter in authorize section in default. Also added an entry in radcheck Username=123, attribute = Max-Daily-Session , op = := ,Value = 100.<br clear="all">
</p><p>  Now when I execute radius and send auth packet for user=123 it goes to sql_rlm and ends up with following error:</p><p>rlm_sql: Failed to create the pair: Invalid octet string "100" for attribute name "Max-Daily-Session"</p>
<p>rlm_sql (sql): Error getting data from database</p><p>[sql] SQL query error; rejecting user</p><p></p><p>And then it sends Accept-Reject reply</p><p>Can anyone tell me where is the problem???</p>Regards,<br><br>Saeed Akhtar<br>
<br>