<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Chillispot Forum — Attributes Bandwidth in radgrouprepy table]]></title>
		<link>http://www.chillispot.org/chilliforum/topic268-attributes-bandwidth-in-radgrouprepy-table.html</link>
		<atom:link href="http://www.chillispot.org/chilliforum/feed-rss-topic268.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Attributes Bandwidth in radgrouprepy table.]]></description>
		<lastBuildDate>Tue, 16 Dec 2008 15:54:29 +0000</lastBuildDate>
		<generator>PunBB 1.4.4</generator>
		<item>
			<title><![CDATA[Re: Attributes Bandwidth in radgrouprepy table]]></title>
			<link>http://www.chillispot.org/chilliforum/post722.html#p722</link>
			<description><![CDATA[<p>please test by radtest and send me message reply<br />and check your UserName op on radcheck <br />it &#039;s should be == or :=</p>]]></description>
			<author><![CDATA[null@example.com (easyzonecorp)]]></author>
			<pubDate>Tue, 16 Dec 2008 15:54:29 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/post722.html#p722</guid>
		</item>
		<item>
			<title><![CDATA[Attributes Bandwidth in radgrouprepy table]]></title>
			<link>http://www.chillispot.org/chilliforum/post716.html#p716</link>
			<description><![CDATA[<p>Hi everyone,</p><br /><p>I have a problem when I want to pass attributes for radgroupreply to the NAS. My NAS is a Linksys with chillispot installed, and I&#039;ve installed Freeradius-2.1.3 with his dictionary:</p><p>#&nbsp; &nbsp; &nbsp; &nbsp;The filename given here should be an absolute path.<br />#<br />$INCLUDE&nbsp; &nbsp; &nbsp; &nbsp; /usr/local/freeradius/share/freeradius/dictionary<br />$INCLUDE /usr/local/freeradius/share/freeradius/dictionary.mikrotik<br />$INCLUDE /usr/local/freeradius/share/freeradius/dictionary.chillispot</p><p>** The same problem is having with Mikrotik NAS.</p><br /><p>The conecction is ok except in this point. User can to connect to internet with nas after authenticate in my radius server but my freeradius is not sending these attributes to NAS in Access-Accept</p><p>+----+-----------+--------------------------+----+--------+------+<br />| id | GroupName | Attribute&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | op | Value&nbsp; | prio |<br />+----+-----------+--------------------------+----+--------+------+<br />| 11 | pruebas&nbsp; &nbsp;| Idle-Timeout&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| := | 300&nbsp; &nbsp; |&nbsp; &nbsp; 0 |<br />| 12 | pruebas&nbsp; &nbsp;| Max-Session-Time&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| := | 5&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; 0 |<br />| 13 | pruebas&nbsp; &nbsp;| WISPr-Bandwidth-Max-Up&nbsp; &nbsp;| := | 128000 |&nbsp; &nbsp; 0 |<br />| 17 | pruebas&nbsp; &nbsp;| WISPr-Bandwidth-Max-Down | := | 128000 |&nbsp; &nbsp; 0 |<br />| 18 | pruebas&nbsp; &nbsp;| Session-Timeout&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | := | 259199 |&nbsp; &nbsp; 0 |<br />+----+-----------+--------------------------+----+--------+------+</p><p>Anyone knows why???</p><p>I&#039;ve also seen in debug by radiusd -X the next:</p><p>[sql]&nbsp; &nbsp;expand: %{User-Name} -&gt; pepe@dominio.com<br />[sql] sql_set_user escaped user --&gt; &#039;pepe@dominio.com&#039;<br />rlm_sql (sql): Reserving sql socket id: 4</p><p>[sql] expand: SELECT id, username, attribute, value, op FROM radcheck WHERE username = &#039;%{SQL-User-Name}&#039; ORDER BY id -&gt; SELECT id, username, attribute, value, op FROM radcheck WHERE username = &#039;pepe@dominio.com&#039; ORDER BY id</p><p>WARNING: Found User-Password == &quot;...&quot;.<br />WARNING: Are you sure you don&#039;t mean Cleartext-Password?<br />WARNING: See &quot;man rlm_pap&quot; for more information.<br />[sql] User found in radcheck table<br />rlm_sql (sql): Released sql socket id: 4<br />++[sql] returns ok</p><br /><p>It&#039;s checking the query in radcheck but not in radgroupreply. And I&#039;ve tested the query in dialup.conf and seems correct</p><p>authorize_group_reply_query = &quot;SELECT ${groupreply_table}.id, ${groupreply_table}.GroupName,${groupreply_table}.Attribute, ${groupreply_table}.Value,${groupreply_table}.op FROM ${groupreply_table},${usergroup_table} WHERE ${usergroup_table}.Username = &#039;%{SQL-User-Name}&#039; AND ${usergroup_table}.GroupName = ${groupreply_table}.GroupName ORDER BY ${groupreply_table}.id&quot;</p><p>Thanks in advance</p>]]></description>
			<author><![CDATA[null@example.com (sooz)]]></author>
			<pubDate>Mon, 15 Dec 2008 18:10:34 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/post716.html#p716</guid>
		</item>
	</channel>
</rss>
