Populate an array with several accounts from radcheck.

Alan DeKok aland at deployingradius.com
Sat Nov 9 17:38:47 CET 2013


Alexander Silveröhrt wrote:
> I have a problem with the time it takes to initiate the DBI connection in a pre_auth script hook using rlm_perl.

  Then cache the DBI session in rlm_perl.  See the Perl docs for caching
variables across threads.

> We have tried several ways and tried to find any references in the manual to populate ARRAYs to be able to do this but when we try the resulting variable only contains one account? And also where should we put the query to be able to use the SQL result in the pre-auth script.? Should it be in servers sites-available/sitename before the perl call?

  You can't do arrays like that.

  Alan DeKok.


More information about the Freeradius-Users mailing list