Jose Guevarra <[EMAIL PROTECTED]> wrote: > I have freeradius authenticating mac addresses listed in a MySQL > database. It works! But, the mac address passed by the client(hp 2650) > is in the form 00-00-00-00-00-00. I set the 'user name' to the 'calling > station id' in the 'hints' file like so > > User-Name := "%i" > > Is it possible to filter out the "-" or ":" or put it into any format I > like?
Yes. Use regular expressions. See doc/variables.txt Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

