MySql and calling-station-id help please

Thibault Le Meur Thibault.LeMeur at supelec.fr
Mon Jan 8 14:29:04 CET 2007


 

-----Message d'origine-----
De :
freeradius-users-bounces+thibault.lemeur=supelec.fr at lists.freeradius.org
[mailto:freeradius-users-bounces+thibault.lemeur=supelec.fr at lists.freeradius
.org] De la part de Ackbar Joolia
Envoyé : lundi 8 janvier 2007 14:07
À : freeradius-users at lists.freeradius.org
Objet : MySql and calling-station-id help please



Dear all,

I want to do authentication based on calling-station-id and then to assign a
static IP from my database to that requester. SO basically, all the requests
coming in will have the same username and password, and I will only identify
each of them through their calling-station-id, and then assign a
Framed-IP-Address to them. 

 

Have you tried the "files" module with a users file like:

 

MyUser    User-Password == "MyPass", Calling-Station-Id==000

                Framed-IP-Address=192.168.1.1

                Fall-Through=no

 

MyUser    User-Password == "MyPass", Calling-Station-Id==001

                Framed-IP-Address=192.168.1.2

                Fall-Through=no

 

When this setup is working, you''ll then be able to switch to a mysql
backend if you want this to be in a database.

 

I cannot get the above to work at all, can anyone please give me an idea of
how to do the above?

Thanks

Al

 


--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.29/607 - Release Date: 28/12/2006
12:31


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070108/901c8f7a/attachment.html>


More information about the Freeradius-Users mailing list