<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sean Preston wrote:
<blockquote
 cite="mid:e73f991d0811110353oea0f34ds267e86dbd1c30bc6@mail.gmail.com"
 type="cite">
  <pre wrap="">Hi

2008/11/11  <a class="moz-txt-link-rfc2396E" href="mailto:tnt@kalik.net"><tnt@kalik.net></a>:
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">I need to restrict a specifc user to say 2 specific NAS ports and then
define a different account to some different specific NAS ports.
Currently as long as an account is only ever going to use one NAS port
I can restrict it by adding the entry to the radcheck table.  So for
example if I have 10 users, I have 10 entries with the NAS port and
the == operator.  However if I want to add some accounts with multiple
entries then
      </pre>
    </blockquote>
    <pre wrap="">.. use huntgroups.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Ok I think I understand what needs to be done.  So the next question
then is how do I setup huntgroups to be in the same database as
everything else because as it stands it looks like it can only be a
file and I am going to have hundreds of groups and it would be easier
to manage in the database.

Regards
Sean

  </pre>
</blockquote>
I wrote documentation for how to implement huntgroups in SQL.<br>
It does require FreeRADIUS version 2.x because it depends on unlang.<br>
You won't need to modify FreeRADIUS 2.x, all you'll need to do is edit<br>
some config files and add a table to your database. The documentation<br>
is attached as a text file to this email.<br>
<br>
HTH,<br>
<br>
John<br>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
John Dennis <a class="moz-txt-link-rfc2396E" href="mailto:jdennis@redhat.com"><jdennis@redhat.com></a>
</pre>
</body>
</html>