<div dir="ltr"><p><br> </p>
<div class="gmail_quote">On Mon, Oct 20, 2008 at 12:09 AM, A BlueCoder <span dir="ltr"><<a href="mailto:bluecoder008@gmail.com">bluecoder008@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div dir="ltr">
<div>Hi,</div>
<div> </div>
<div>I have a need to implement Vendor-Specific Attributes using a FreeRadius approach (version 0.9.3 on Solaris).</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>Here are the requirements:</div>
<div> </div>
<div>1. Access-Request Requests;</div>
<div> </div>
<div>2. Request Attributes -- with VSA (implemented with a Vendor-specific dictionary).</div>
<div> </div>
<div>3. Response Attributes -- with VSA (implemented with a Vendor-specific dictionary).</div>
<div> </div>
<div>4. There is a map from attributes in (2) to (3), which is what i am trying to implement.</div>
<div> </div>
<div>e.g. </div>
<div> </div>
<div>If the request NAS-IP-Address = <a href="http://111.111.111.111/" target="_blank">111.111.111.111</a>, i would like to response with attribute: VSA1 = 10000001,</div>
<div>
<div>If the request NAS-IP-Address = <a href="http://111.111.111.112/" target="_blank">111.111.111.112</a>, i would like to response with attribute: VSA1 = 10000002,</div>
<div>
<div>If the request NAS-IP-Address = <a href="http://111.111.111.113/" target="_blank">111.111.111.113</a>, i would like to response with attribute: VSA1 = 10000003,</div>
<div>
<div>If the request NAS-IP-Address = <a href="http://111.111.111.114/" target="_blank">111.111.111.114</a>, i would like to response with attribute: VSA1 = 10000004,</div>
<div> </div>
<div>etc....</div>
<div> </div>
<div>What's the best way which i can configur without writing a full-fledge rlm module?</div>
<div><br>Thanks in advance,</div>
<div> </div>
<div>BC</div>
<div> </div>
<div> </div>
<div> </div></div></div></div></div></blockquote></div>
<p><br> </p></div>