rlm_perl problems]

Igor Smitran sigor at blic.net
Fri Jul 24 15:25:56 CEST 2009


Ivan Kalik wrote:
> Have you defined func_post_auth?
>
> Ivan Kalik
> Kalik Informatika ISP
>   
Left everything by default. Made script by using example.pl as template.
Both scripts are looking exactly the same, except that i don't use
default function names for perl_script_1.

perl perl_script_1 {
        module = ${confdir}/config_dialup/perl_script_1.pl
        func_authorize = authorize_check_username
        func_accounting = accounting_check_username
}

perl perl_script_2 {

        module = ${confdir}/config_dialup/perl_script_2.pl
}

This means that perl will use default function names for perl_script_2 and different function names for perl_script_1, right? or am i missing something?


Igor



More information about the Freeradius-Users mailing list