call exec when proxy authentication success

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Jun 19 15:49:07 CEST 2013


On 19 Jun 2013, at 13:50, Martin Kraus <lists_mk at wujiman.net> wrote:

> On Wed, Jun 19, 2013 at 04:10:49PM +0800, Bill Yuan wrote:
>> but the latest release version is 2.2.0,
>> 
>> Can someone help to explain how to filter it on 2.2.0
> 
> I've got on debian freeradius 2.1.12 this in post-auth config, so I guess it
> should be working just the same.
> 
> Post-Auth-Type REJECT {
>    # log failed authentications in SQL, too.
>    # sql
>    attr_filter.access_reject
> }

No, that's not the same. That will be run for non proxied requests to.

Just try the Post-Proxy-Type section, it might work in 2.0, if it doesn't
I know there's a way to get the proxy response code, I just can't remember
what it is.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team



More information about the Freeradius-Users mailing list