On Fri, Nov 22, 2002 at 01:28:10AM +0200, Kostas Kalevras wrote:
> On Thu, 21 Nov 2002 [EMAIL PROTECTED] wrote:
> 
> > On Thu, Nov 21, 2002 at 12:01:42PM -0600, Chris Parker wrote:
> > > At 12:56 PM 11/21/2002 -0500, [EMAIL PROTECTED] wrote:
> > > >I have FR running with LDAP authentication, MySQL accounting. I have
> > > >two different networks (moving to 4 soon) that provide me with dialup
> > > >services. Doing the billing, I've noticed that I am being billed for more
> > > >accounts that I have. When I consolidated the reports, I found that I
> > > >had users hopping from one network to another, and generating billings
> > > >on both. Nice. So, my problem is, how do I keep this from happening.
> > > >I've played with different setups, but I can't seem to find the magic
> > > >incantation.
> > >
> > > You could accomplish this with Hunt-Groups.
> >
> > That's what I was playing with, but the only way I can see to do this
> > is to list each user in the users file, which sorta negates the gain
> > of LDAP...
> >
> > Tim
> 
> Compile the attached rlm_checkval module. I am using this to do exactly the same
> thing. Add the following config section to your radiusd.conf:
> 
>         checkval nas-check{
>                 item-name = "NAS-IP-Address"
>                 check-name = "NAS-IP-Address"
>                 data-type = "ipaddr"
>         }
> 
> Also add nas-check in your authorize section *after* your ldap module. Add an
> allowed NAS-IP-Address in your user ldap entries like:
> radiuscheckitem: NAS-IP-Address := "XXX.XXX.XXX.XXX"
> 
> It should work ok

Hmm. Seems to be working. Thanks! Is there any chance of getting that into
CVS so it becomes part of the snapshots?

Tim

-- 
  
   >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
   >> Tim Sailer (at home)             ><  Coastal Internet,Inc.           <<
   >> Network and Systems Operations   ><  PO Box 671                      <<
   >> http://www.buoy.com              ><  Ridge, NY 11961                 <<
   >> [EMAIL PROTECTED][EMAIL PROTECTED]     ><  (631)924-3728  (888) 924-3728   <<
   >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

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

Reply via email to