-----Message d'origine----- De : freeradius-users-bounces+thibault.lemeur=supelec.fr@lists.freeradius.org [mailto:freeradius-users-bounces+thibault.lemeur=supelec.fr@lists.freeradius .org] De la part de Ackbar Joolia Envoyé : lundi 8 janvier 2007 14:07 À : freeradius-users@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