Conditions for executing module

Mindaugas Riauba ml at kilimas.com
Sun Jun 13 19:00:37 CEST 2010


>>   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 Auth-Type and Acct-Type and
choose them in the users/acct_users files. It was the simpliest way
because we already were using those files for the choices.

  By the way in dictionary it is documented that values 3000-4000 are
reserved for site local attributes. But what about similar range for
site local values? For now I started from 3000.

  Regards,

  Mindaugas




More information about the Freeradius-Users mailing list