Re: Conditions for executing module

2010-06-13 Thread Mindaugas Riauba
>>   How to define some conditions in users/acct_users file when to use >> our module? It is quite heavy and we'd like to avoid its execution in >> as many cases as possible. > >  See "man unlang" >  Put it in the "authenticate" section, and it should work. Thanks. But in the end I added custom

Re: Conditions for executing module

2010-06-11 Thread Alan DeKok
Mindaugas Riauba wrote: > How to define some conditions in users/acct_users file when to use > our module? It is quite heavy and we'd like to avoid its execution in > as many cases as possible. See "man unlang" > I tried such configuration in users. Idea comes from > http://freeradius.org/r

Conditions for executing module

2010-06-10 Thread Mindaugas Riauba
Hello, FR 2.1.9 and novice in FR module programming. :) How to define some conditions in users/acct_users file when to use our module? It is quite heavy and we'd like to avoid its execution in as many cases as possible. I tried such configuration in users. Idea comes from http://freeradi