Hi,

 I'm trying to get mac authentication to a mysql database where the mac 
addresses are stripped of all special characters.

If I add this line to the /sql/mysql/dialup.conf file

sql_user_name = "%{Calling-Station-Id}"

the calling-station-id (username passed to mysql) is the correct mac address 
however, it has still needs to have all the special characters (hyphens) 
removed.

Can someone show me an example of how to modify the calling-station-id?  I 
suppose using rlm_perl would be the best way as I could modify it using perl.

Thanks,



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

Reply via email to