Ignoring failed module in post-auth

Michal Bruncko michal.bruncko at zssos.sk
Tue Jan 10 22:33:44 CET 2012


Hi Phil,

perfect! this is working, as expected :) sql module fails, but ok is used :)

many thanks!

michal

On 10. 1. 2012 20:51, Phil Mayers wrote:
> On 01/10/2012 06:40 PM, Michal Bruncko wrote:
>> Hello Alan,
>>
>> your hint gives syntax error:
>> "/etc/raddb/sites-enabled/default[476]: Unknown action 'ok'.
>> /etc/raddb/sites-enabled/default[461]: Errors parsing post-auth section."
>>
>> post-auth {
>> sql {
>> fail = ok
>> }
>> }
>>
>> from the man unlang I assume, that "ok" keyword should be placed only on
>> the left side of statement "code = value".
>
> Maybe try:
>
> post-auth {
> redundant {
> sql
> ok
> }
> }
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>

-- 
Ing. Michal Bruncko, PhD., CCNP
Linux systems and network administrator
Coupled school of business and services Ruzomberok
Slovak Republic



More information about the Freeradius-Users mailing list