if (!ok) {
reject (is there a statement like authenticate rather then directly rejecting them and if they fail to authenticate and then reject)
}
else {
# accept
update control {
Auth-Type := Accept
}
}
}So you just want to do Mac-Auth basically?
> It will be a CHAP Authentication and will be based on Calling-Station-Id
>
> I think http://freeradius.1045715.n5.nabble.com/freeradius-Calling-Station-Id-td5715153.html
>
> Calling-Station-Id = "12345", Auth-Type := Accept
>
http://wiki.freeradius.org/guide/Mac%20Auth