Triggering an action on AuthZ failure

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Oct 25 17:54:22 CEST 2012



> 
> Specifically, I'm trying to use the line log to record when a user is refused access for reasons other than bad credentials.
> 
> My initial thought was to try and check rcode, but that didn't seem to work (I'm not 100% sure I had the test correct though):


Checking rcode is ok but make sure priorities are set correctly so you don't end up returning only.

To check rcode you just use the keyword. i.e. if (ok) {} or if (reject) {}

-Arran


More information about the Freeradius-Users mailing list