Hi Ivan, Actually there are two attributes, and the values of attributes are not static - they vary based on the NAS-IDentifider attribute values. (I can set up VSA to send static values - just the dynamic part, I dont have good ideas). Thanks for the help. BC <freeradius-users@lists.freeradius.org>
If it's just one attribute why bother with VSA. Use Reply-Message. Create DEFAULT entries in users file to send replies.
Ivan Kalik Kalik Informatika ISP
Dana 20/10/2008, "A BlueCoder" <[EMAIL PROTECTED]> piše:
On Mon, Oct 20, 2008 at 12:09 AM, A BlueCoder <[EMAIL PROTECTED]>wrote:
Hi,
I have a need to implement Vendor-Specific Attributes using a FreeRadius approach (version 0.9.3 on Solaris).
I understand probably rewriting a rml module would solve this problem and probably the most effective way. However, given the shortage of time, i would like to explore configuration options (without code writing) if possible.
Here are the requirements:
1. Access-Request Requests;
2. Request Attributes -- with VSA (implemented with a Vendor-specific dictionary).
3. Response Attributes -- with VSA (implemented with a Vendor-specific dictionary).
4. There is a map from attributes in (2) to (3), which is what i am trying to implement.
e.g.
If the request NAS-IP-Address = 111.111.111.111, i would like to response with attribute: VSA1 = 10000001, If the request NAS-IP-Address = 111.111.111.112, i would like to response with attribute: VSA1 = 10000002, If the request NAS-IP-Address = 111.111.111.113, i would like to response with attribute: VSA1 = 10000003, If the request NAS-IP-Address = 111.111.111.114, i would like to response with attribute: VSA1 = 10000004,
etc....
What's the best way which i can configur without writing a full-fledge rlm module?
Thanks in advance,
BC