Re: MAC Address Validation for phones

2009-09-08 Thread Matthieu Lazaro
Ivan Kalik a écrit : I tried to put this in the users file: Unlang goes into virtual server configuration, not users file. if ( %{User-Name} =~ 00030BCA[0-9A-F]+ ) { update control { Cleartext-Password == %{User-Name} }

Re: MAC Address Validation for phones

2009-09-08 Thread Marinko Tarlac
Please ask here for Wiki account. Then you'll be able to create pages and add content. best regards Marinko Matthieu Lazaro wrote: Furthermore, I would like to suggest or edit parts of this page http://freeradius.org/radiusd/man/unlang.html , so that we have a detailed list of where and how

Re: MAC Address Validation for phones

2009-09-08 Thread Alan DeKok
Matthieu Lazaro wrote: Furthermore, I would like to suggest or edit parts of this page http://freeradius.org/radiusd/man/unlang.html , so that we have a detailed list of where and how we can use unlang. $ man unlang That text is already in 2.1.6. The web page wasn't updated. Alan DeKok.

MAC Address Validation for phones

2009-09-07 Thread Matthieu Lazaro
Hello list, I need some help on some unlang portion (if this is the right solution). Here is context: I need to do 802.1x on Ethernet switch for dynamic VLAN assignment for PCs . The problem is I have some phones connected between the PC and the switch. I don't want the users to login 802.1X

Re: MAC Address Validation for phones

2009-09-07 Thread Ivan Kalik
I tried to put this in the users file: Unlang goes into virtual server configuration, not users file. if ( %{User-Name} =~ 00030BCA[0-9A-F]+ ) { update control { Cleartext-Password == %{User-Name} } } Ivan Kalik Kalik Informatika ISP - List