François Dagorn wrote:
> So, is there a simple way to force radiusd to accept different mac address 
> format ?

  Write a regular expression to turn one into the other.

  if (("%{User-Name}" == "%{User-Password}") && \
        (User-Name =~
/([0-9a-f]{2}):([0-9a-f]{2}):([0-9a-f]{2}):([0-9a-f]{2}):([0-9a-f]{2}):([0-9a-f]{2})))
{
        update request {
                User-Name := "%{1}%{2}%{3}%{4}%{5}%{6]"
                User-Password := "%{1}%{2}%{3}%{4}%{5}%{6]"
        }
  }
  files
  ...


  That should work.  It would also help for you to go through that, and
understand exactly what it means.

> Sorry if this is a FAQ, of course I've not changed anything within my conf
> since 2009 !

  FreeRADIUS is pretty darned stable.

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

Reply via email to