I'm using FreeRADIUS and MySQL
I am trying to add an attribute

We have normal and accelerated dialup (using a program called Slipstream).  I have 
added an attribute in the dictionary VENDOR  Slipstream  7000 ATTRIBUTE  
Slipstream-Auth 1 string  Slipstream

I'm pretty sure that I need the attribute in the Access-Accept packet

In sql.conf, I have added (as per the comments in sql.conf and the other sql queries 
listed):

attr_check_query = "SELECT id,UserName,Attribute,Value,op FROM slipcheck WHERE 
username='%{SQL-User-Name}' ORDER BY id"

attr_reply_query = "SELECT id,UserName,Attribute,Value,op FROM slipreply WHERE 
username='%{SQL-User-Name}' ORDER BY id"

I also created tables in the MySQL radius database, slipcheck and slipreply The 
Attribute is Slipstream-Auth and the Value is either True or NULL (I believe the op is 
== for slipcheck and := for slipreply, I'm not sure how this is supposed to be)


When I do a radtest, I don't see the attribute in the access-accept packet.  So as far 
as I know, it does not appear to be working.  It seems I am missing something.  It 
must be something easy because I'm sure many people have done something like this 
before.  
When I use ./radiusd -X  will I be able to see the attributes in a reply when I do a 
radtest?  If not, then how do I test to make sure it is working?

Any help is appreciated
Thank you,
Evan Stenmark


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to