Triggering an action on AuthZ failure

2012-10-25 Thread Adam Bishop
Hello, What is the correct way to run a module if authorisation is going to fail? 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

Re: Triggering an action on AuthZ failure

2012-10-25 Thread Arran Cudbard-Bell
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

Re: Triggering an action on AuthZ failure

2012-10-25 Thread Arran Cudbard-Bell
On 25 Oct 2012, at 16:54, Arran Cudbard-Bell a.cudba...@freeradius.org wrote: 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