> I have added some additional radcheck options using checkval module.
> For example I have several NAS Servers, and I've defined which user from
> which NAS allowed to login.
> Now I want to know is it possible to configure Freeradius in a way, that
> when it rejects a user, it prints a custom error in log file?
> e.g: user test is not allowed to login via NAS 1.2.3.4, it is configured
> to login via 4.3.2.1 .
if(NAS-IP-Address != "1.2.3.4") {
custom_error
reject
}
where custom_error is linelog instance writing your custom error into the
log.
Ivan Kalik
Kalik Informatika ISP
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html