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, >=20 > Stored procedure is a nice tweak. Indeed, i have my users in=20 > ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
> Hi Lucas,
>=20 > Stored procedure is a nice tweak. Indeed, i have my users in=20 > a mysql database. >=20 > > for example .... in my mssql.conf I have .... > > > > authorize_check_query =3D "rad_authorize_check_query=20 > > '%{Stripped-User-Name:-%{User-Name}}'" > > > > rad_authorize_check_query is an stored procedure. I only=20 > > provide the=20 > > username, but inside the storedprocedure I make lots of=20 > > checks .... do=20 > > you follow me ???? >=20 > Yes, but how can you verify the username against the=20 > NAS-IP-Address, if you=20 > only provide the username to your stored procedure ?=20 > (That's what i understand...) :-) ... I'm only providing User-Name, because it is my own stored-procedure. Build your own one and provide the Attributes you need .... for example the NAS-IP-Address ... and make YOUR stored procedure to do what you need ... it will certainly work. Best Regards, Lucas --=20 No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 29/04/2005 =20 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |