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