Set reject in post-auth
Arran Cudbard-Bell
a.cudbardb at gmail.com
Tue Mar 15 00:24:45 CET 2011
Create the appropriate entry in raddb/modules/always
always reject {
rcode = reject
}
-Arran
On Mar 14, 2011, at 5:16 PM, paul smith wrote:
> Thanks Alan,
>
> I had tried that already, but must be missing something. When I use:
>
> if (!reply:Session-Timeout) {
> reject
> }
>
> I get the following in the debug:
>
> /etc/raddb/sites-enabled/default[209]: Failed to load module "reject".
> /etc/raddb/sites-enabled/default[209]: Failed to parse "reject" entry.
> /etc/raddb/sites-enabled/default[201]: Errors parsing post-auth section.
>
> I have looked through all the modules (as I had removed some of them),
> but couldn't find the reference to the reject module.
>
> thanks,
>
>
> On Fri, Mar 11, 2011 at 6:50 AM, Alan DeKok <aland at deployingradius.com> wrote:
>> paul smith wrote:
>>> I've been trying to set reject in the post-auth section if a certain
>>> attribute hasn't been set, but it doesn't seem to work (obviously I've
>>> messed it up)
>>
>> $ man unlang
>>
>> You can just use the word "reject"
>>
>> Alan DeKok.
>> -
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list