"authentication" sub in perl
Alan Buxey
A.L.M.Buxey at lboro.ac.uk
Fri Sep 30 17:56:16 CEST 2011
Hi,
> Hi,
>
> I am trying to call an external perl function within "authentication" sub"
>
> - functions are uncommented in modules/perl file
> ...
> func_authenticate = authenticate
> func_authorize = authorize
> ...
>
> - subs are modified in /raddb/example.pl
> sub authenticate{
> print "TEST1\n";
> }
>
> sub authenticate {
> print "TEST2\n";
> /usr/local/etc/raddb/test.pl;
> }
>
> When freeradius receives a REQUEST, only "authenticate" sub is called and
> not "authenticate" sub.
> How can I enable "authenticate" to be called when a REQUEST is arrived?
huh? authenticate == authenticate
surely you meant to put authorize in one of those statements?
alan
More information about the Freeradius-Users
mailing list