Bluehost.com Web Hosting $6.95

Re: providing IP address depending NAS origin

This is a discussion on Re: providing IP address depending NAS origin within the FreeRADIUS Users forums, part of the Networking and Network Related category; Hi Lucas, Le Vendredi 29 Avril 2005 16:50, Lucas Aimaretto a =E9crit=A0: > > You can allways receive ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-29-2005
Benoit Tirmarche
 
Posts: n/a
Default Re: providing IP address depending NAS origin

Hi Lucas,

Le Vendredi 29 Avril 2005 16:50, Lucas Aimaretto a =E9crit=A0:
>
> You can allways receive the IP-Address ot the NAS in the NAS-IP-Address
> Attribute. You can ( because I've done it ) build an stored procedure on
> your sql engine and do some if-else structure where you validate your IP
> Address. If your NAS-IP-Address attribute is IP-A, you return IP address
> in 192.168.201.0/24. If IP-B, then 192.168.200.0/24.
>


Stored procedure is a nice tweak. Indeed, i have my users in a mysql databa=
se.

> for example .... in my mssql.conf I have ....
>
> authorize_check_query =3D "rad_authorize_check_query
> '%{Stripped-User-Name:-%{User-Name}}'"
>
> rad_authorize_check_query is an stored procedure. I only provide the
> username, but inside the storedprocedure I make lots of checks .... do
> you follow me ????


Yes, but how can you verify the username against the NAS-IP-Address, if you=
=20
only provide the username to your stored procedure ?=20
(That's what i understand...)

Thanks a lot. I am progressing.. I didn't know that FreeRadius could do so=
=20
much !

Ben.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:00 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0