Reg Max-Data attribute in freeradius 3.0.8

J@g@dee5h djfueese at gmail.com
Wed Jul 1 11:34:08 CEST 2015


Hello,

I have upgraded the freeradius from 2.2 to 3.0.8 and now While authendicate
I am getting this error.

----------
(2) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply
WHERE username = '%{SQL-User-Name}' ORDER BY id
(2) sql:    --> SELECT id, username, attribute, value, op FROM radreply
WHERE username = 'randeeps' ORDER BY id
(2) sql: Executing select query: SELECT id, username, attribute, value, op
FROM radreply WHERE username = 'randeeps' ORDER BY id
(2) sql: EXPAND SELECT groupname FROM radusergroup WHERE username =
'%{SQL-User-Name}' ORDER BY priority
(2) sql:    --> SELECT groupname FROM radusergroup WHERE username =
'randeeps' ORDER BY priority
(2) sql: Executing select query: SELECT groupname FROM radusergroup WHERE
username = 'randeeps' ORDER BY priority
(2) sql: User found in the group table
(2) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM
radgroupcheck WHERE groupname = '%{Sql-Group}' ORDER BY id
(2) sql:    --> SELECT id, groupname, attribute, Value, op FROM
radgroupcheck WHERE groupname = 'starter' ORDER BY id
(2) sql: Executing select query: SELECT id, groupname, attribute, Value, op
FROM radgroupcheck WHERE groupname = 'starter' ORDER BY id
(2) sql: ERROR: Failed to create the pair: Unknown name "Max-Data"
(2) sql: ERROR: Error parsing user data from database result
(2) sql: ERROR: Error retrieving check pairs for group starter
-------------



Here is the table details.

mysql> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE
groupname = 'starter' ORDER BY id;
+----+-----------+-----------+-------------+----+
| id | groupname | attribute | Value       | op |
+----+-----------+-----------+-------------+----+
| 14 | starter   | Max-Data  | 32212254720 | := |
+----+-----------+-----------+-------------+----+
1 row in set (0.00 sec)

mysql>


------------


Please let me know which attribute I need to use it in freeradius 3.0.8 for
Max-Data.

Thanks.


More information about the Freeradius-Users mailing list