30 Sep
2011
30 Sep
'11
11:56 a.m.
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