Hi,
>      if("%{User-Name}" =~ /\\\\?([^@\\\\]+)@?([-[:alnum:]._]*)?$/) {

please note i did say that was a example - please dont just use anything
like this in a production system - you will need other checks and validations
too - its just to give you an idea. the first one would be something like..

if(("%{User-Name}" !~ /@/) && ("%{Called-Station-Id}" =~ /:eduroam$/)){
        reject
}

ie if the SSID is eduroam and the user doesnt have an @ in it, then reject.
(this example would work if the kit provides the SSID at the end of the 
Called-Station-Id - most
do..)

..and so on.

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

Reply via email to